mirror of https://github.com/calzoneman/sync.git
Fixes
This commit is contained in:
parent
775a6752bb
commit
3f81883994
|
@ -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,
|
||||
|
|
|
@ -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+"";
|
||||
|
|
|
@ -242,6 +242,7 @@
|
|||
<script src="./assets/js/ui.js"></script>
|
||||
<script src="./assets/js/callbacks.js"></script>
|
||||
<!-- APIs -->
|
||||
<script src="http://www.youtube.com/iframe_api"></script>
|
||||
<script src="http://api.dmcdn.net/all.js"></script>
|
||||
<script src="http://jwpsrv.com/library/QouFCLBMEeKC+CIACpYGxA.js"></script>
|
||||
<script src="./assets/js/sc.js"></script>
|
||||
|
|
Loading…
Reference in New Issue