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

@ -15,7 +15,7 @@ var constructors = {
"yt": YouTubePlayer, "yt": YouTubePlayer,
"vi": VIMEO_FLASH ? VimeoFlashPlayer : VimeoPlayer, "vi": VIMEO_FLASH ? VimeoFlashPlayer : VimeoPlayer,
"dm": DailymotionPlayer, "dm": DailymotionPlayer,
"sc": SouncloudPlayer, "sc": SoundcloudPlayer,
"li": LivestreamPlayer, "li": LivestreamPlayer,
"tw": TwitchTVPlayer, "tw": TwitchTVPlayer,
"jt": JustinTVPlayer, "jt": JustinTVPlayer,

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 */ /* load channel */
var loc = document.location+""; var loc = document.location+"";

View File

@ -242,6 +242,7 @@
<script src="./assets/js/ui.js"></script> <script src="./assets/js/ui.js"></script>
<script src="./assets/js/callbacks.js"></script> <script src="./assets/js/callbacks.js"></script>
<!-- APIs --> <!-- APIs -->
<script src="http://www.youtube.com/iframe_api"></script>
<script src="http://api.dmcdn.net/all.js"></script> <script src="http://api.dmcdn.net/all.js"></script>
<script src="http://jwpsrv.com/library/QouFCLBMEeKC+CIACpYGxA.js"></script> <script src="http://jwpsrv.com/library/QouFCLBMEeKC+CIACpYGxA.js"></script>
<script src="./assets/js/sc.js"></script> <script src="./assets/js/sc.js"></script>