From 301ff2ff87e337d3f3d71db7795dbc33c0dcf1f3 Mon Sep 17 00:00:00 2001 From: anekos Date: Tue, 7 Oct 2008 17:17:41 +0000 Subject: fixed player(full) size git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@20937 d0d07461-0603-4401-acd4-de1884942a52 --- youtubeamp.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'youtubeamp.js') 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); }, -- cgit v1.2.3