aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--youtubeamp.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtubeamp.js b/youtubeamp.js
index df38ca8..77da365 100644
--- a/youtubeamp.js
+++ b/youtubeamp.js
@@ -136,8 +136,8 @@ YouTubePlayerController.prototype = {
_changeToFull: function () {
var p = this._player();
setTimeout(function () {
- p.width = window.innerWidth;
- p.height = liberator.buffer.pageHeight;
+ p.width = content.innerWidth;
+ p.height = content.innerHeight;
}, 0);
},