video.js plugin to add a PIP button if the browser supports webkitSupportsPresentationMode
npm install videojs-pipvideo.js plugin to add a PIP button if the browser supports webkitSupportsPresentationMode
Built for video.js 5.x and above.
``scss`
$icon-font-path: '~videojs-pip/fonts/';
@import "~videojs-pip/videojs-pip";
`js``
require('videojs-pip')
videojs(element, {
pipButton: {}
})
MIT