[Webkit-unassigned] [Bug 163698] New: No way to adjust volume or unmute video via controls in iOS if muted attribute is set

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 19 15:16:50 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=163698

            Bug ID: 163698
           Summary: No way to adjust volume or unmute video via controls
                    in iOS if muted attribute is set
    Classification: Unclassified
           Product: WebKit
           Version: Safari 10
          Hardware: iPhone / iPad
                OS: iOS 10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media Elements
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: evol at jwplayer.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161019/435a4cb8/attachment.html>


More information about the webkit-unassigned mailing list