[Webkit-unassigned] [Bug 178409] Picture-in-Picture mode displays video incorrectly if activated from a KeyboardEvent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 28 04:31:16 PST 2024


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

Ulrich Petri <webkit at ulo.pe> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |webkit at ulo.pe

--- Comment #2 from Ulrich Petri <webkit at ulo.pe> ---
The same happens when triggering PiP from a bookmarklet via keyboard shortcut.

Place this bookmarklet in the "Favorites" bookmarks: `javascript:document.querySelector(%22video%22).webkitSetPresentationMode(%22picture-in-picture%22);`

Then trigger via the "Favorites" shortcut (i.e. Cmd-Option-<number>).

It causes the video to be scaled 1/4 on a black background. Clicking the bookmarklet works as expected.

-- 
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/20240228/70ef055f/attachment.htm>


More information about the webkit-unassigned mailing list