Repository navigation
mux-video with hls: Error: Media element src was set while attaching MediaSource when adding tracks
#926
Replies: 1 comment
|
Moving to issues |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm getting an error when supplying tracks to the
mux-videoweb component.Here's some example code:
The code I'm using in my component is more complex than this and involves the use of media-chrome, but even when I use straight up HTML without my wrapper component and the hosted version of mux-video it still occurs.
There's no documentation on the mux-video readme about
<track>s, but since it's an extension of HTML<video>I assumed I could do that.How do I provide the captions, chapters etc without triggering this error?
Minimum reproducible example: https://codepen.io/endymion1818/pen/RwmKQpq
All reactions