Closed jmdx closed 8 years ago
Thanks. Will take care of this.
The cause is some - probably misguided - attempt of having the MediaSource blob src in the API available somewhere. It's probably better to leave this (almost) entirely inside the hls.js API (which is available as api.engine.hlsjs
anyway).
It's probably enough to communicate the blob src on error when it matters, and handle api.video.src
and api.video.url
like the html5 engine does: it simply assigns the same value to both properties. - @nnarhinen - thoughts on this?
@jmdx - this should be fixed now.
Yep, looks good. Thanks for resolving this so quickly!
I am getting stale video objects from the API when I have an HLS item in the second or later position of a playlist. This can be observed at http://codepen.io/anon/pen/wGpYjG or with the following code (I'm using Chrome 49):
After finishing the first item in the playlist, the second item plays, but
api.video.src
still returns'//stream.flowplayer.org/bauhaus.m3u8'
, which in the above example is displayed above the video on every progress event for convenience. This is specific to HLS, since the following configuration (with an mp4 as the second clip instead) exhibits the expected behavior of showing the currently playing URL:Thanks!