Passing url from the promise in the right way
This commit is contained in:
parent
34e2dffe99
commit
09f5c92541
1 changed files with 2 additions and 2 deletions
|
@ -241,8 +241,8 @@ $(document).ready(function() {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
startStreaming(resource, subtitles).then((response) => {
|
startStreaming(resource, subtitles).then((url) => {
|
||||||
requestArgs.args.resource = response.url;
|
requestArgs.args.resource = url;
|
||||||
// XXX subtitles currently break the Chromecast playback,
|
// XXX subtitles currently break the Chromecast playback,
|
||||||
// see https://github.com/balloob/pychromecast/issues/74
|
// see https://github.com/balloob/pychromecast/issues/74
|
||||||
// if (response.subtitles) {
|
// if (response.subtitles) {
|
||||||
|
|
Loading…
Reference in a new issue