change player import to type only
This commit is contained in:
parent
20232afefd
commit
cc16511c36
@ -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";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user