PiP initial commit

This commit is contained in:
wuggy 2026-09-13 10:51:36 -07:00
commit 9a1d4edaa9
14 changed files with 377 additions and 1 deletions

View file

@ -46,6 +46,10 @@ partial interface HTMLVideoElement {
// True if the video has an audio track available.
readonly attribute boolean mozHasAudio;
// Browser UI only: keep the source decoder active for a floating player.
[ChromeOnly]
attribute boolean mozPictureInPicture;
// True if the video should use a screen wake lock.
[Pref="dom.wakelock.enabled", Func="Navigator::HasWakeLockSupport"]
attribute boolean mozUseScreenWakeLock;