fix
This commit is contained in:
parent
621e2cdb5b
commit
b17fb633ff
1 changed files with 6 additions and 1 deletions
|
@ -39,7 +39,12 @@ const props = defineProps<{
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
const videoEl = $ref<HTMLVideoElement | null>();
|
const videoEl = $ref<HTMLVideoElement | null>();
|
||||||
|
try {
|
||||||
Vlitejs.registerPlugin('pip', VlitejsPip);
|
Vlitejs.registerPlugin('pip', VlitejsPip);
|
||||||
|
}
|
||||||
|
catch (err) {
|
||||||
|
console.error('Pip plugin is already registered');
|
||||||
|
}
|
||||||
|
|
||||||
const playerInstance = ref();
|
const playerInstance = ref();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue