diff options
author | wlt | 2012-07-13 00:40:50 +0900 |
---|---|---|
committer | wlt | 2012-07-13 00:40:50 +0900 |
commit | 49d0a7cbf7f10daf4142084396eabbede8160259 (patch) | |
tree | 1ad7345dfb7b476fe87dc45118e7858d7ae98559 /stella.js | |
parent | 6faf557babdf71d1b71f915c19d022f83cf03783 (diff) | |
download | vimperator-plugins-49d0a7cbf7f10daf4142084396eabbede8160259.tar.bz2 |
Fix :stfetch on YouTube
Diffstat (limited to 'stella.js')
-rw-r--r-- | stella.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1031,7 +1031,7 @@ Thanks: fetch: function (filepath) { // all(1080p,720p,480p,360p) -> 37, 22, 35, 34, 5 // FIXME 一番初めが最高画質だと期待 - let cargs = content.wrappedJSObject.yt.config_.PLAYER_CONFIG.args; + let cargs = content.wrappedJSObject.yt.playerConfig.args; cargs.url_encoded_fmt_stream_map.split(',')[0].split('&').forEach(function(x) { let [key, val] = x.split('='); if (key == 'url') { @@ -1160,7 +1160,7 @@ Thanks: fetch: function (filepath) { // all(1080p,720p,480p,360p) -> 37, 22, 35, 34, 5 // FIXME 一番初めが最高画質だと期待 - let cargs = content.wrappedJSObject.yt.config_.PLAYER_CONFIG.args; + let cargs = content.wrappedJSObject.yt.playerConfig.args; cargs.url_encoded_fmt_stream_map.split(',')[0].split('&').forEach(function(x) { let [key, val] = x.split('='); if (key == 'url') { |