neilmaheshwari/trillmix — pull request #1 by jackreuter (2014-04-14 14:32:14+00:00)
Title: Using youtube API rather than html embedding

Hey so I've been trying to embed our videos using the youtube api rather than just embedding the url in the html code. I have it working here. I needed to install the gon gem in order to pass the ruby variable vid_id from the controller into the js code for the youtube player. Check it out. One bug right now is that the gif button doesn't work, but reloading the page does.