feat(web): implement web pip method and event (#4370)

Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
This commit is contained in:
YangJH
2025-01-18 23:19:55 +09:00
committed by GitHub
parent 449dfb62b5
commit 8dc10fd4b7
3 changed files with 54 additions and 5 deletions

View File

@@ -317,7 +317,7 @@ Example:
### `onPictureInPictureStatusChanged`
<PlatformsList types={['iOS', 'Android']} />
<PlatformsList types={['iOS', 'Android', 'web']} />
Callback function that is called when picture in picture becomes active or inactive.

View File

@@ -80,7 +80,7 @@ Future:
### `enterPictureInPicture`
<PlatformsList types={['Android', 'iOS']} />
<PlatformsList types={['Android', 'iOS', 'web']} />
`enterPictureInPicture()`
@@ -114,7 +114,7 @@ NOTE: Video ads cannot start when you are using the PIP on iOS (more info availa
### `exitPictureInPicture`
<PlatformsList types={['Android', 'iOS']} />
<PlatformsList types={['Android', 'iOS', 'web']} />
`exitPictureInPicture()`