Add picture in picture support.

Closes #255
This commit is contained in:
FireMasterK 2021-07-11 02:07:51 +05:30
parent 13c005d67b
commit d4d598e355
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD

View File

@ -150,7 +150,7 @@ export default {
this.ui = new shaka.ui.Overlay(localPlayer, this.$refs.container, videoEl);
const config = {
overflowMenuButtons: ["quality", "captions", "playback_rate"],
overflowMenuButtons: ["quality", "captions", "picture_in_picture", "playback_rate"],
seekBarColors: {
base: "rgba(255, 255, 255, 0.3)",
buffered: "rgba(255, 255, 255, 0.54)",