Revision: 23330
Updated Code
at February 4, 2010 09:43 by errkk
Updated Code
//Swfobject Youtube Embedded video var youTubeEmbed = function(){ var atts = {}; atts.id = "vid"; swfobject.embedSWF('http://www.youtube.com/v/'+ytVideoID+"&hl=en&fs=1&rel=0&color1=0x000000&color2=0x2d2d2d&enablejsapi=1&playerapiid=ytplayer", "vid", "640px", "385px", "8", null, null, atts); }; if(ytVideoID != ''){ youTubeEmbed(); } <script> var ytVideoID = "fzzjgBAaWZw"; </script>
Revision: 23329
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 4, 2010 09:18 by errkk
Initial Code
//Swfobject Youtube Embedded video var youTubeEmbed = function(){ var atts = {}; atts.id = "vid"; swfobject.embedSWF('http://www.youtube.com/v/'+ytVideoID+"& hl=en &fs=1 &rel=0 &color1=0x000000 &color2=0x2d2d2d &enablejsapi=1 &playerapiid=ytplayer", "alt", "640px", "385px", "8", null, null, params, atts); }; if(ytVideoID != ''){ youTubeEmbed(); } <script> var ytVideoID = "fzzjgBAaWZw"; </script>
Initial URL
Initial Description
For dynamic publishing without shitty <embed> markup
Initial Title
Youtube with SWF object
Initial Tags
Initial Language
JavaScript