aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJagua2015-02-11 22:11:59 +0900
committerJagua2015-02-11 22:11:59 +0900
commita557f854756a9fa516ac7521149456f46a8f38eb (patch)
tree8f20df9b6ef82488debab8aada1a0c855c4711e5
parentb6c292395551bb1b2be3599a0a59fd739c155f14 (diff)
downloadvimperator-plugins-a557f854756a9fa516ac7521149456f46a8f38eb.tar.bz2
fix youtube apiid
-rw-r--r--stella.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/stella.js b/stella.js
index d0b6d34..9f6b175 100644
--- a/stella.js
+++ b/stella.js
@@ -1032,7 +1032,7 @@ Thanks:
fetch: function (filepath) {
// all(1080p,720p,480p,360p) -> 37, 22, 35, 34, 5
// FIXME 一番初めが最高画質だと期待
- let cargs = content.wrappedJSObject.yt.playerConfig.args;
+ let cargs = content.wrappedJSObject.ytplayer.config.args;
cargs.url_encoded_fmt_stream_map.split(',')[0].split('&').forEach(function(x) {
let [key, val] = x.split('=');
if (key == 'url') {
@@ -1161,7 +1161,7 @@ Thanks:
fetch: function (filepath) {
// all(1080p,720p,480p,360p) -> 37, 22, 35, 34, 5
// FIXME 一番初めが最高画質だと期待
- let cargs = content.wrappedJSObject.yt.playerConfig.args;
+ let cargs = content.wrappedJSObject.ytplayer.config.args;
cargs.url_encoded_fmt_stream_map.split(',')[0].split('&').forEach(function(x) {
let [key, val] = x.split('=');
if (key == 'url') {