Skip to content

0.11.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@toxic-johann toxic-johann released this 26 Aug 05:35
· 125 commits to master since this 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:

  1. requestPictureInPicture
  2. exitPictureInPicture

You can enter/leave the Picture-In-Picture mode through the apis above. They will trigger events below.

  1. enterpictureinpicture
  2. 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.