Commit 6f99a50f authored by Matt Mascarenhas's avatar Matt Mascarenhas

cinera_player_pre.js: Only resume() if playing

parent e7aefbad
......@@ -118,8 +118,11 @@ Player.prototype.updateSize = function() { = height;
if (this.youtubePlayerReady) {
this.youtubePlayer.setSize(Math.floor(width), Math.floor(height));
// Stops the per-frame work that the player does. Call when you want to hide or get rid of the player.
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