We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
您使用的西瓜播放器版本是多少? What version of xgplayer are you using? 3.0.19
您使用的操作系统和浏览器分别是? What OS and browser are you using? mac 13 / Chrome 129.0.6668.91
如何复现问题? How to reproduce the problem?
import Player from "xgplayer"; import FlvPlugin from "xgplayer-flv"; import HlsPlugin from "xgplayer-hls"; let player; function render() { player = new Player({ el: document.querySelector("#player"), width: "100%", height: "100%", isLive: true, url: "http://192.168.162.111:8180/live/HLF68W.live.flv", plugins: [FlvPlugin], autoplay: true, autoplayMuted: true, lang: "zh", videoAttributes: { crossOrigin: "anonymous", }, }); } render(); function switchToHls() { player.unRegisterPlugin("flv"); player.registerPlugin(HlsPlugin); player.playNext({ url: "http://192.168.162.111:8180/live/HLF68W/hls.m3u8", }); } setTimeout(() => { switchToHls(); }, 3000);
您期望的播放器正常行为是? What did you expect to happen? 切换后正常播放
实际播放器的表现是? What actually happened? bao'cuo报错: 不支持的音频/视频格式
可填写您所在的公司和相关产品业务,方便我们提供更好的技术支持 You can write your company and product which uses xgplayer, for helping us provide better technical support. 医疗手术直播
The text was updated successfully, but these errors were encountered:
No branches or pull requests
您使用的西瓜播放器版本是多少? What version of xgplayer are you using?
3.0.19
您使用的操作系统和浏览器分别是? What OS and browser are you using?
mac 13 / Chrome 129.0.6668.91
如何复现问题? How to reproduce the problem?
您期望的播放器正常行为是? What did you expect to happen?
切换后正常播放
实际播放器的表现是? What actually happened?
bao'cuo报错: 不支持的音频/视频格式
可填写您所在的公司和相关产品业务,方便我们提供更好的技术支持 You can write your company and product which uses xgplayer, for helping us provide better technical support.
医疗手术直播
The text was updated successfully, but these errors were encountered: