Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02be1804 authored by smain@google.com's avatar smain@google.com Committed by Android Git Automerger
Browse files

am fdb9fa0e: am 351c908b: am 94e0b530: fix bug that allowed only one video in...

am fdb9fa0e: am 351c908b: am 94e0b530: fix bug that allowed only one video in the shadowbox per page bug: 18777918

* commit 'fdb9fa0e':
  fix bug that allowed only one video in the shadowbox per page bug: 18777918
parents 2fbb4e30 fdb9fa0e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -642,6 +642,10 @@ function startYouTubePlayer(videoId) {
  } else {
    // reset the size in case the user adjusted the window since last play
    youTubePlayer.setSize(videoWidth, videoHeight);
    // if a video different from the one already playing was requested, cue it up
    if (videoId != youTubePlayer.getVideoUrl().split('?v=')[1]) {
      youTubePlayer.cueVideoById(videoId);
    }
    youTubePlayer.playVideo();
  }
}