forked from platypush/platypush
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) => {
|
||||
requestArgs.args.resource = response.url;
|
||||
startStreaming(resource, subtitles).then((url) => {
|
||||
requestArgs.args.resource = url;
|
||||
// XXX subtitles currently break the Chromecast playback,
|
||||
// see https://github.com/balloob/pychromecast/issues/74
|
||||
// if (response.subtitles) {
|
||||
|
|
Loading…
Reference in a new issue