video-player 调整清晰度
时间: 2023-08-19 14:06:58 浏览: 209
要在video-player中调整清晰度,你可以使用SuperVideoPlayer提供的方法之一,即playVideoAtLastPos()。这个方法可以用于更换视频的清晰度地址,并且可以继续上次播放的位置。你可以在初始化播放器后调用这个方法,指定要切换的清晰度地址,然后播放视频。例如,你可以这样使用playVideoAtLastPos()方法:
myPlayer.playVideoAtLastPos(newVideoUrl);
其中,newVideoUrl是你要切换的清晰度地址。
这样,当你调用playVideoAtLastPos()方法后,video-player就会切换到指定的清晰度并继续播放视频。这样可以帮助你调整视频的清晰度。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Android VideoPlayer在线播放视频(可切换清晰度) 源码](https://download.csdn.net/download/yyh352091626/9202257)[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^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [videoJs添加清晰度切换、倍速设置](https://blog.csdn.net/qq_35153373/article/details/112183508)[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^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [vue-video-player使用及修改样式](https://blog.csdn.net/dghgjuyhuoyho/article/details/123397433)[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^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文