From 0110a941b97ebb4513dfa79ac54de1a7e4f5b26c Mon Sep 17 00:00:00 2001 From: anekos Date: Sat, 17 Mar 2012 21:03:39 +0900 Subject: Not works --- stella.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/stella.js b/stella.js index f3c9dbd..7a4dc9e 100644 --- a/stella.js +++ b/stella.js @@ -1260,6 +1260,7 @@ Thanks: Player.apply(this, arguments); } + NicoPlayer.SIZE_FULL = 'full'; NicoPlayer.SIZE_LARGE = 'fit'; NicoPlayer.SIZE_NORMAL = 'normal'; @@ -1326,8 +1327,11 @@ Thanks: get fileExtension () '.flv', - get fullscreen () this.large, - set fullscreen (value) (this.large = value), + get fullscreen () this.player.ext_getVideoSize() === NicoPlayer.SIZE_FULL, + set fullscreen (value) { + this.player.ext_setVideoSize(value ? NicoPlayer.SIZE_FULL : NicoPlayer.SIZE_NORMAL); + return this.fullscreen; + }, get id () let (m = U.currentURL.match(/\/(?:watch|playlist\/mylist)\/([a-z\d]+)/)) -- cgit v1.2.3