diff --git a/www/assets/js/player.js b/www/assets/js/player.js index ba5254f8..31722243 100644 --- a/www/assets/js/player.js +++ b/www/assets/js/player.js @@ -15,7 +15,7 @@ var constructors = { "yt": YouTubePlayer, "vi": VIMEO_FLASH ? VimeoFlashPlayer : VimeoPlayer, "dm": DailymotionPlayer, - "sc": SouncloudPlayer, + "sc": SoundcloudPlayer, "li": LivestreamPlayer, "tw": TwitchTVPlayer, "jt": JustinTVPlayer, diff --git a/www/assets/js/ui.js b/www/assets/js/ui.js index 1fbcfaf8..9fcc99b0 100644 --- a/www/assets/js/ui.js +++ b/www/assets/js/ui.js @@ -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+""; diff --git a/www/channel.html b/www/channel.html index b541de37..57a75683 100644 --- a/www/channel.html +++ b/www/channel.html @@ -242,6 +242,7 @@ +