This commit is contained in:
Calvin Montgomery 2013-08-05 23:21:28 -04:00
parent 775a6752bb
commit 3f81883994
3 changed files with 2 additions and 18 deletions

View file

@ -366,23 +366,6 @@ $(window).resize(function() {
}
});
/* initial YouTube api */
if(!USEROPTS.hidevid) {
var tag = document.createElement("script");
tag.src = "http://www.youtube.com/iframe_api";
var firstScriptTag = document.getElementsByTagName("script")[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
}
function onYouTubeIframeAPIReady() {
if(!PLAYER)
PLAYER = new Player({id:"", type: "yt"});
if(FLUIDLAYOUT)
fluid();
}
/* load channel */
var loc = document.location+"";