Bug: <video> element has two identical <track> elements when track is added #948
Labels
bug
Something isn't working
Status: Unconfirmed
A potential issue that we haven't yet confirmed as a bug
Is there an existing issue for this?
Which Mux Elements/Packages does this apply to? Select all that apply
mux-player-react
Which browsers are you using?
Chrome
Which operating systems are you using?
macOS
Description
I have a text track in external source, so I added
<track>
element inside<MuxPlayer>
component. When I see the generated code from the browser console, the video element has two identical track element. So when the video is played, it displays the same caption twice.Reduced test case
https://codesandbox.io/p/sandbox/mux-player-react-zhst6f
Steps to reproduce
<video>
tagCurrent Behavior
The video element has two track elements.
Expected Behavior
The video element should have one track element.
Errors
No response
What version of the package are you using?
v2.7.0
The text was updated successfully, but these errors were encountered: