change player import to type only
This commit is contained in:
parent
20232afefd
commit
cc16511c36
@ -17,7 +17,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, onMounted, onBeforeUnmount } from "vue";
|
import { ref, onMounted, onBeforeUnmount } from "vue";
|
||||||
import videojs from "video.js";
|
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-mobile-ui";
|
||||||
import "videojs-hotkeys";
|
import "videojs-hotkeys";
|
||||||
import { loadSubtitle } from "@/utils/subtitle";
|
import { loadSubtitle } from "@/utils/subtitle";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user