Team:NYU Gallatin/
From 2012.igem.org
(Difference between revisions)
m |
m |
||
Line 192: | Line 192: | ||
<p><a href="/Notebook/Videos" class="more-link">More Videos</a></p> | <p><a href="/Notebook/Videos" class="more-link">More Videos</a></p> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | |||
- | |||
<!--//--><![CDATA[// ><!-- | <!--//--><![CDATA[// ><!-- | ||
- | var featured_url = "http://gdata.youtube.com/feeds/api/playlists/8340F2FAB32CAB64?alt=jsonc | + | var featured_url = "http://gdata.youtube.com/feeds/api/playlists/8340F2FAB32CAB64?alt=jsonc%20v=2"; |
$.get(featured_url, function(data) { | $.get(featured_url, function(data) { | ||
- | var src = 'http://www.youtube.com/embed/' + data.data.items[0].video.id + '?width=250 | + | var src = 'http://www.youtube.com/embed/' + data.data.items[0].video.id + '?width=250%20height=180'; |
ifr = $('<iframe scrolling="no" frameborder="no">'); | ifr = $('<iframe scrolling="no" frameborder="no">'); | ||
ifr.attr({'src': src, width: 250, height: 180}); | ifr.attr({'src': src, width: 250, height: 180}); | ||
Line 207: | Line 205: | ||
//--><!]]> | //--><!]]> | ||
- | |||
</script> </div> | </script> </div> | ||
</div> | </div> |
Revision as of 18:03, 26 September 2012