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
播放器初始化之后报这个错误:The error you provided does not contain a stack trace
另外,因为我们需求是动态视频地址列表,点击某个Item之后切换唯一的播放器地址,每次切换的时候都new Chimeeplayer,导致底部栏control会每切换一次就重叠一次; 因为之前试过了页面初始化的时候初始化一个player,然后动态切换src行不通。 试了destroy()事件也不行。
每次点击一个item都实例化一次下面这段代码: const chimeePlayer = new ChimeeMobilePlayer({ wrapper: '#m3u8Player', // video dom容器 poster: poster,xxxxxx // src: src, src: 'https://server7.x'x'x'x'x'x.com/live/0018A975C642.m3u8', isLive: true, autoplay: isAutoplay, controls: true, playsInline: true, preload: 'auto', x5VideoPlayerFullscreen: true, x5VideoOrientation: 'landscape|portrait', xWebkitAirplay: true, muted: true, disableUA: [ 'Mozilla/5.0 (Linux; Android 4.4.2; HM NOTE 1TD Build/KOT49H; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/62.0.3202.97 Mobile Safari/537.36', ], //removeInnerPlugins: ['chimeeMobiControlbar', 'chimeeState'], // 需要移除的插件 });
The text was updated successfully, but these errors were encountered:
复现环境有吗?
Sorry, something went wrong.
iphoneX,IOS12.2,微信环境 @toxic-johann
你看看前后两张图片对比,这是在IOS的效果
@toxic-johann 实例化代码和报错信息看上面,还要我需要监听视频地址是不是有效的视频地址,如果视频无效需要显式弹窗给用户提示,load和error事件都不行,
No branches or pull requests
播放器初始化之后报这个错误:The error you provided does not contain a stack trace
另外,因为我们需求是动态视频地址列表,点击某个Item之后切换唯一的播放器地址,每次切换的时候都new Chimeeplayer,导致底部栏control会每切换一次就重叠一次;
因为之前试过了页面初始化的时候初始化一个player,然后动态切换src行不通。
试了destroy()事件也不行。
每次点击一个item都实例化一次下面这段代码:
const chimeePlayer = new ChimeeMobilePlayer({
wrapper: '#m3u8Player', // video dom容器
poster: poster,xxxxxx
// src: src,
src: 'https://server7.x'x'x'x'x'x.com/live/0018A975C642.m3u8',
isLive: true,
autoplay: isAutoplay,
controls: true,
playsInline: true,
preload: 'auto',
x5VideoPlayerFullscreen: true,
x5VideoOrientation: 'landscape|portrait',
xWebkitAirplay: true,
muted: true,
disableUA: [
'Mozilla/5.0 (Linux; Android 4.4.2; HM NOTE 1TD Build/KOT49H; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/62.0.3202.97 Mobile Safari/537.36',
],
//removeInnerPlugins: ['chimeeMobiControlbar', 'chimeeState'], // 需要移除的插件
});
The text was updated successfully, but these errors were encountered: