EZOPEN协议: nextTick(() => { state.palyer = new EZUIKit.EZUIKitPlayer({ id: "videoFlv", width: document.documentElement.clientWidth / 3, height: document.documentElement.clientHeight / 3, // template: "simple", //播放器样式 template: "security", url: row.monitorUrl, accessToken: row.accessToken, appKey: row.appKey, autoplay: true, }); }); 直播标准流 HLS: nextTick(() => { // 下面这种用法得配合video标签使用 state.palyer = new EZUIKit.HLS("videoFlv", row.monitorUrl); state.palyer.play(); });
萤石云前端播放直播流的两种格式
最新推荐文章于 2025-02-10 10:29:25 发布