EasyDarwin / EasyPlayer.js

EasyPlayer.js H5播放器,是一款免费的能够同时支持HTTP、RTMP、HTTP-FLV、HLS(m3u8)直播与点播等多种协议,支持H.264、H.265、AAC等多种音视频编码格式,支持mse、asm、wasm等多种解码方式,支持Windows、Linux、Android、iOS全平台终端的H5播放器。EasyPlayer.js H5 Player support HTTP/RTMP/HTTP-FLV/HLS(m3u8) live streaming & vod streaming,support H.264/H.265/AAC video & audio codec,support mse/asm/wasm decode mode,support Windows/Linux/Android/iOS platform,EasyPlayer.js uses leading-edge technology.
http://www.tsingsee.com/
1.66k stars 313 forks source link

@easydarwin/easywasmplayer with nuxt #107

Open wei10cool opened 3 years ago

wei10cool commented 3 years ago

引用./EasyWasmPlayer.js會出錯無法載入頁面 client.js?06a0:103 TypeError: Cannot set property 'style' of undefined

修改2處

40872行

(this.loadingBox.style = "display:none");

改為

((this.loadingBox)?this.loadingBox.style = "display:none":"");

40892 行

this.endLoading(), (this.Snap.style = "display:none");

改為

this.endLoading(), ((this.Snap)?this.Snap.style = "display:none":"");

此為暫時解法,需請作者改一下

另實測手機可撥放flv(ios可撥放但無法放大,android正常可放大)