diff options
author | anekos | 2012-05-03 00:52:55 +0900 |
---|---|---|
committer | anekos | 2012-05-03 00:52:55 +0900 |
commit | 9277f8eecb890343ca206fd22cb5ce9916c1efb1 (patch) | |
tree | 40ec22bbec33f1f6a51bcf70a035ed260b860a40 /stella.js | |
parent | 1201ca2a8c3ef003b752a066c7031c1a098be770 (diff) | |
download | vimperator-plugins-9277f8eecb890343ca206fd22cb5ce9916c1efb1.tar.bz2 |
Follow niconico zero player?
Diffstat (limited to 'stella.js')
-rw-r--r-- | stella.js | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -39,7 +39,7 @@ let PLUGIN_INFO = <name lang="ja">すてら</name> <description>For Niconico/YouTube/Vimeo, Add control commands and information display(on status line).</description> <description lang="ja">ニコニコ動画/YouTube/Vimeo 用。操作コマンドと情報表示(ステータスライン上に)追加します。</description> - <version>0.33.0</version> + <version>0.33.1</version> <author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author> <license>new BSD License (Please read the source code comments of this plugin)</license> <license lang="ja">修正BSDライセンス (ソースコードのコメントを参照してください)</license> @@ -1351,9 +1351,15 @@ Thanks: ]; }, - get player () content.document.getElementById('flvplayer').wrappedJSObject.__proto__, + get player () { + return ( + U.getElementById('flvplayer') + || + U.getElementById('external_nicoplayer') + ).wrappedJSObject.__proto__; + }, - get playerContainer () U.getElementByIdEx('flvplayer_container'), + // get playerContainer () U.getElementByIdEx('flvplayer_container'), get ready () { try { |