vue 引入vue-video-player
时间: 2023-08-19 14:04:42 浏览: 110
在使用Vue引入vue-video-player时,首先需要安装vue-video-player包,可以通过npm install vue-video-player --save命令来进行安装。然后,在main.js文件中需要全局引入vue-video-player,可以使用以下代码实现全局引入:<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Vue中的视频播放插件( vue-video-player )](https://blog.csdn.net/m0_48607837/article/details/118309037)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* [Vue视频插件vue-video-player的使用](https://blog.csdn.net/pdd11997110103/article/details/120107689)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文