mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 22:17:30 -07:00
fix
This commit is contained in:
parent
a0cbc9ba9d
commit
5e9b8eee60
1 changed files with 6 additions and 1 deletions
|
@ -39,7 +39,12 @@ const props = defineProps<{
|
|||
}>();
|
||||
|
||||
const videoEl = $ref<HTMLVideoElement | null>();
|
||||
Vlitejs.registerPlugin('pip', VlitejsPip);
|
||||
try {
|
||||
Vlitejs.registerPlugin('pip', VlitejsPip);
|
||||
}
|
||||
catch (err) {
|
||||
console.error('Pip plugin is already registered');
|
||||
}
|
||||
|
||||
const playerInstance = ref();
|
||||
|
||||
|
|
Loading…
Reference in a new issue