diff options
author | anekos | 2012-03-17 21:03:39 +0900 |
---|---|---|
committer | anekos | 2012-03-17 21:03:39 +0900 |
commit | 0110a941b97ebb4513dfa79ac54de1a7e4f5b26c (patch) | |
tree | a43ee7cebcc2872cdfacb8a89b1021e7c449b8e0 | |
parent | 5313dab7c0291038cbd4e6c267d66853db063cd4 (diff) | |
download | vimperator-plugins-stella/nico-fullscreen.tar.bz2 |
Not worksstella/nico-fullscreen
-rw-r--r-- | stella.js | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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]+)/)) |