change player import to type only

This commit is contained in:
Kloon ImKloon 2023-10-06 18:40:03 +02:00
parent 20232afefd
commit cc16511c36
No known key found for this signature in database
GPG Key ID: CCF1C86A995C5B6A

View File

@ -17,7 +17,7 @@
<script setup lang="ts">
import { ref, onMounted, onBeforeUnmount } from "vue";
import videojs from "video.js";
import Player from "video.js/dist/types/player";
import type Player from "video.js/dist/types/player";
import "videojs-mobile-ui";
import "videojs-hotkeys";
import { loadSubtitle } from "@/utils/subtitle";