0.11.0
Pre-release
Pre-release
We support Picture-in-Picture Api in this version. If you don't know what Picture-in-Picture Api is, you can watch the demo make from Google Chrome.
We support the basic Api below:
requestPictureInPicture
exitPictureInPicture
You can enter/leave the Picture-In-Picture mode through the apis above. They will trigger events below.
enterpictureinpicture
leavepictureinpicture
If you want to know whether your instance is in Picture-In-Picture mode, you can detect it through inPictureInPictureMode
attribute.
On the browsers which don't support Picture-In-Picture mode, we will fallback to a canvas render.