目前可以先使用這個:有例子,有參數可以參考。
https://www.cnblogs.com/qinghuaL/p/14772806.html
地址是這個:
網上別的文章說的之前的vue-video-player,在本地搞不成功。
后來用的這個:https://github.com/enzostvs/vue3-player-video
這個作者還在更新,我看到十幾天前還在更新代碼。
作者的官網:還是很炫酷的。

關於基本使用,作者沒有給例子。

不過研究了一會:
我的基本例子是這個:
<template>
<VuePlayerVideo src="https://en-zo.dev/vue3-player-video.mp4">
</VuePlayerVideo>
</template>
<script>
import VuePlayerVideo from 'vue3-player-video'
export default {
name: "show",
components: {
VuePlayerVideo
}
}
</script>
這個視頻地址是我在作者官網上扒下來的。

在我本人的項目里是這樣的:

別的用法要么等作者,要么參考別的插件,自己摸索一下。
