[Webkit-unassigned] [Bug 202985] New: Invalid pictureInPictureEnabled API result on Safari iOS13

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 15 06:34:50 PDT 2019


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

            Bug ID: 202985
           Summary: Invalid pictureInPictureEnabled API result on Safari
                    iOS13
           Product: WebKit
           Version: Safari 13
          Hardware: Unspecified
                OS: iOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: oren.me at gmail.com

Safari on iOS13 returns document.pictureInPictureEnabled as true, while it didn't on iOS12.
This breaks previous implementations where standard detection on Chrome uses document.pictureInPictureEnabled to detect support and iOS uses typeof video.webkitSupportsPresentationMode === 'function' && video.webkitSupportsPresentationMode('picture-in-picture')

now we need to do also user agent detection to exclude the document.pictureInPictureEnabled from iOS.
Is this change related to the work done for https://bugs.webkit.org/show_bug.cgi?id=201024?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191015/8702b731/attachment-0001.html>


More information about the webkit-unassigned mailing list