elements icon indicating copy to clipboard operation
elements copied to clipboard

Bug: mux-video and MuxVideo React captions Chrome bug

Open luwes opened this issue 2 years ago • 4 comments

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:

  1. open the Chrome browser
  2. go to https://elements-demo-vanilla.vercel.app/mux-video.html
  3. open the video settings menu and select the captions item
  4. open the settings again and see the captions menu item is gone

This does not happen in Firefox or Safari on my machine MacOS

luwes avatar Dec 13 '22 16:12 luwes

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.

chrome-bug_2022-12-13_10-45-43

Next step here is to create an isolated test case without Mux and file a bug with Chromium

dylanjha avatar Dec 13 '22 18:12 dylanjha

@luwes @gkatsev has this been resolved? Or did we ever file a Chromium bug for it?

dylanjha avatar Jan 20 '23 16:01 dylanjha

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

luwes avatar Jan 20 '23 17:01 luwes

Just re-tested today. Appears to still be an issue and no updates on chromium bug since initial triage.

cjpillsbury avatar Aug 07 '23 14:08 cjpillsbury