This commit is contained in:
ThatOneCalculator 2022-07-13 21:50:59 -07:00
parent 5bd64758a1
commit 55e389ba61
1 changed files with 3 additions and 0 deletions

View File

@ -30,12 +30,15 @@ import { ref } from 'vue';
import * as misskey from 'misskey-js';
import 'vlitejs/dist/vlite.css';
import Vlitejs from 'vlitejs';
import VlitejsPip from 'vlitejs/dist/plugins/pip';
import { defaultStore } from '@/store';
const props = defineProps<{
video: misskey.entities.DriveFile;
}>();
Vlitejs.registerPlugin('pip', VlitejsPip);
new Vlitejs('#player', {
plugins: ['pip'],
});