大约有 2 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0021 秒)
...; var video:Object =Browser.document.querySelector('#player'); if (Hls.isSupported()) { var hls:Object = new Hls(); hls.loadSource('http://content.jwplatform.com/manifests/vM7nH0Kl.m3u8');//加载m3u8源 hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } p...
来源: Laya2.0_文档 发布时间: 20210715
... var video:any = Laya.Browser.document.querySelector('#player'); if(Hls.isSupported()){ var hls:any = new Hls(); //加载m3u8源 hls.loadSource('http://content.jwplatform.com/manifests/vM7nH0Kl.m3u8'); hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } ply...
来源: Laya3.0_文档 发布时间: 20241014