forgot videoId of chromecast on end

This commit is contained in:
Kasper Rynning-Tønnesen
2016-11-18 21:58:01 +01:00
parent 3e5eed4af5
commit fc27388534
5 changed files with 38 additions and 15 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -67,8 +67,8 @@ var Player = {
{
try{
if(Player.player.getVideoUrl().split('v=')[1] != video_id)
{
if(Player.player.getVideoUrl().split('v=')[1] != video_id || chromecastAvailable){
console.log("chromecast!");
Player.loadVideoById(video_id);
Player.notifyUser(video_id, song_title);
Player.seekTo(seekTo);