Bug 163698 - No way to adjust volume or unmute video via controls in iOS if muted attribute is set
Summary: No way to adjust volume or unmute video via controls in iOS if muted attribut...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 10
Hardware: iPhone / iPad iOS 10
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-10-19 15:16 PDT by Evol Greaves
Modified: 2017-04-12 01:51 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evol Greaves 2016-10-19 15:16:50 PDT
When a video element has the inline and muted attributes set in Safari on iOS, there is no way to unmute the video using the video element controls. For custom players with a mute button, it is possible to toggle the muted state of the video element, but if the video is muted and the user taps to enter fullscreen after playback starts, there is no way to unmute the video while in fullscreen mode. 

The video element's volume is always 1 on iOS and there seems to be no event that lets the video element know that the user has adjusted the system volume. 

The best one can do is to unmute the video when the `webkitbeginfullscreen` event is raised to ensure the user has control of audio, but we can't infer that the user wants to hear audio just by their choice to enter fullscreen.

The use case for this is with autoplay, where videos have to be muted for playback to start without user interaction.
Comment 1 Radar WebKit Bug Importer 2016-10-21 16:08:18 PDT
<rdar://problem/28898596>