Skip to content

Bug: Unable to hide captions by default in Safari on iPhone #1160

@palmersoft-uk

Description

@palmersoft-uk

Is there an existing issue for this?

  • I have searched the existing issues

Which Mux Elements/Packages does this apply to? Select all that apply

mux-player

Which browsers are you using?

Safari on iOS

Which operating systems are you using?

iOS

Description

Similar to #1019

<mux-player class="mx-auto h-full" stream-type="on-demand" playback-id="abc123" primary-color="#E55E2C" accent-color="#F4E6DF" thumbnail-time="1" metadata-video-title="my video" metadata-viewer-user-id="test-user" preload="auto" default-hidden-captions></mux-player>

Using the above code, I would expect the captions to be hidden by default, however, this is not the case on Safari on iPhone.

Safari/iOS Version 18.5

The issue I linked to above suggested using prefers-playback="mse" which unfortunately is not available on iOS for iPhone.

Reduced test case

No response

Steps to reproduce

  1. Upload Video to Mux, ensure that you set it to generate the subtitles
  2. Use Mux Player to add it to a page
  3. View the page on an iPhone device

Current Behavior

Shows the captions automatically

Expected Behavior

For the captions to be hidden by default

Errors

No response

What version of the package are you using?

v3.5.0

Metadata

Metadata

Labels

Status: UnconfirmedA potential issue that we haven't yet confirmed as a bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions