Commit 6f99a50f by Matt Mascarenhas

cinera_player_pre.js: Only resume() if playing

parent e7aefbad
......@@ -118,7 +118,10 @@ Player.prototype.updateSize = function() {
this.markersContainer.style.height = height;
if (this.youtubePlayerReady) {
this.youtubePlayer.setSize(Math.floor(width), Math.floor(height));
this.resume();
if(this.playing)
{
this.resume();
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment