react-player icon indicating copy to clipboard operation
react-player copied to clipboard

Google Chrome Device Mode Simulation iOS Device Not Working - onError DOMException: The element has no supported sources.

Open akbortoli opened this issue 2 years ago • 0 comments

Current Behavior

I am getting a weird behavior when simulating mobile devices in device mode on Chrome (Version 112.0.5615.49).

Expected Behavior

For Audio/Video to play normally as it would when not in device mode.

Steps to Reproduce

  1. Go to https://cookpete.com/react-player/ on Google Chrome
  2. Open the developer tools
  3. Click on device mode
  4. Select an apple device from the emulated device list e.g: iPhone 12 Pro
  5. Add the following URL to the Custom URL input field: https://stream.mux.com/uNbxnGLKJ00yfbijDO8COxTOyVKT01xpxW.m3u8
  6. Click load, video/audio won't play. An error will be thrown with Event object
  7. Click pause/play gives you the following error message: onError DOMException: The element has no supported sources.

Environment

  • URL attempting to play: https://stream.mux.com/uNbxnGLKJ00yfbijDO8COxTOyVKT01xpxW.m3u8
  • Browser: Google Chrome (Version 112.0.5615.49)
  • Operating system: MacOS
  • jsFiddle example: N/A

Other Information

Enable device mode enable-device-mode

When not in device mode Screen Shot 2023-04-18 at 7 40 04 pm

Device mode enabled Screen Shot 2023-04-18 at 7 39 18 pm

Safari Screen Shot 2023-04-18 at 7 36 44 pm

Safari iOS - iPhone 14 IMG_0034

akbortoli avatar Apr 18 '23 09:04 akbortoli