video-player 自动播放属性
时间: 2023-09-30 07:09:09 浏览: 73
player播放器的属性
根据引用中的内容,可以得出video-player的自动播放属性可以通过将muted属性设置为true,并调用视频播放事件来实现。同时,可以将相关代码放在自动播放事件中:this.$refs.videoPlayer.player.load()和this.$refs.videoPlayer.player.play()。此外,还可以设置一开始全屏播放视频。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [vue 视频播放插件vue-video-player自定义样式、自动播放设置、设置一开始全屏播放视频、监听全屏事件](https://blog.csdn.net/DarlingYL/article/details/130441908)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [视频播放平台vue-core-video-player](https://blog.csdn.net/weixin_46407419/article/details/124855082)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文