mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Updated listener to look more for chromecastAvailable
This commit is contained in:
@@ -87,7 +87,11 @@ var Player = {
|
||||
|
||||
if(!Player.loaded) setTimeout(function(){Player.loaded = true;},500);
|
||||
}catch(e){
|
||||
if(!durationBegun)
|
||||
if(chromecastAvailable){
|
||||
Player.loadVideoById(video_id);
|
||||
Player.seekTo(seekTo);
|
||||
}
|
||||
if(!durationBegun && !chromecastAvailable)
|
||||
Player.durationSetter();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user