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:
4
static/dist/embed.min.js
vendored
4
static/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
2
static/dist/main.min.js
vendored
2
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -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