Bug 246153

Summary: preload="none" video can't enter Picture in Picture
Product: WebKit Reporter: Jeff Johnson <opendarwin>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: eric.carlson, jer.noble, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: Mac (Apple Silicon)   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=245473
Attachments:
Description Flags
Sample HTML demonstrating the bug
none
Screenshot of video contextual menu none

Description Jeff Johnson 2022-10-06 06:56:10 PDT
Created attachment 462833 [details]
Sample HTML demonstrating the bug

Safari 16.0 (17614.1.25.9.10, 17614) on macOS 12.6

If a video has the attribute preload="none", then the "Enter Picture in Picture" contextual menu item is disabled even though "Enter Full Screen" is enabled (see attached screenshot), and webkitSetPresentationMode("picture-in-picture") fails on video play (see attached sample HTML).

Related bug: "Missing video contextual menu items with preload none" https://bugs.webkit.org/show_bug.cgi?id=245473
Comment 1 Jeff Johnson 2022-10-06 06:56:37 PDT
Created attachment 462834 [details]
Screenshot of video contextual menu
Comment 2 Radar WebKit Bug Importer 2022-10-13 06:57:18 PDT
<rdar://problem/101124932>