lishaoxin123

Results 29 comments of lishaoxin123

> @lishaoxin123 are you trying this on Expo maybe? No, I did it directly on my cell phone

> > its not rendering background color, this indicator style only works when you press that tab and once you release it will no more in effect. On Tue, Sep...

> efault { data() { return { videoPlayer: null } }, mounted() { this.getVideo() }, methods: { getVideo() { this.videoPlayer = new HlsJsPlayer({ el: document.querySelector('#mmid'), url: 'https://sf1-cdn-tos.huoshanstatic.com/obj/media-fe/xgplayer_doc_video/hls/xgplayer-demo.m3u8', width: '100%', height:...

> 直播播放器如果使用xgplayer-flv/hls插件,本身会重拉的。然后如果您需要手动重拉的话可以player.src = url就行 并不会重拉假设流还没推上是404的时候这时候直接就err掉了,还有个问题就是destroy没有把上一次的请求给注销了,假设我先设置url=null再去destroy这时候会诡异的new 多一个视频出来。

> 您使用的直播插件及版本是多少? 分别是 "xgplayer": "^2.31.6", "xgplayer-hls.js": "^2.6.1",还有个奇怪的问题在微信上不管是使用改变src的方式还是重新init来做重连都会很诡异的无效

> 好的,微信浏览器实在ios上的安卓没试过

> 没用了,后面hls.js 自己搞了个播放

兄弟你解决了?今天刚用这玩意,看了下文档无力吐槽要是可以选根本不想用,另外想了下他这个只能path的话估计要在node把文件写入,然后再读取这个文件流的路径了