elements
elements copied to clipboard
Bug: mux-video and MuxVideo React captions Chrome bug
The Chrome browser currently has a bug when selecting a text track from the native Chrome controls UI. Once selected the menu item disappears from the UI but the captions or subtitles are shown in mux-video.
Steps to reproduce:
- open the Chrome browser
- go to https://elements-demo-vanilla.vercel.app/mux-video.html
- open the video settings menu and select the captions item
- open the settings again and see the captions menu item is gone
This does not happen in Firefox or Safari on my machine MacOS
Dug into this a bit more. You can see here:
- The
<video>
element has textracks with cues - But Chrome is not showing it in the native menu
@luwes discovered that Chrome doesn't show the list item when the TextTrack does not have a src
. With addTextTrack
Chrome does not have this bug, it only happens with the <track>
elements.
playback-core
is responsible for dynamically creating the <track>
elements and keeping track of them.
Next step here is to create an isolated test case without Mux and file a bug with Chromium
@luwes @gkatsev has this been resolved? Or did we ever file a Chromium bug for it?
this is still a bug in Chrome. filed a ticket at https://bugs.chromium.org/p/chromium/issues/detail?id=1400842#c1 reproduced at https://codesandbox.io/s/chrome-track-dynamic-cues-video-ui-bug-f1tnx2?file=/index.html
Just re-tested today. Appears to still be an issue and no updates on chromium bug since initial triage.