| | |
| | | <link rel="stylesheet" type="text/css" href="./static/css/login.css"> |
| | | </head> |
| | | <body> |
| | | <script type="text/javascript" src="./static/js/jessibuca/index.js"></script> |
| | | <script type="text/javascript" src="./static/js/jessibuca/jessibuca.js"></script> |
| | | <script type="text/javascript" src="./static/js/EasyWasmPlayer.js"></script> |
| | | <script type="text/javascript" src="./static/js/ZLMRTCClient.js"></script> |
| | | <script type="text/javascript" src="//api.map.baidu.com/api?v=2.0&ak=rk73w8dv1rkE4UdZsataG68VarhYQzrx&s=1"></script> |
| | |
| | | container: this.$refs.container, |
| | | videoBuffer: 0.2, // 最大缓冲时长,单位秒 |
| | | isResize: true, |
| | | decoder:"static/js/jessibuca/decoder.js", |
| | | useMSE: false, |
| | | showBandwidth: false, |
| | | isFlv: true, |
| | | decoder: "./static/js/jessibuca/index.js", |
| | | // text: "WVP-PRO", |
| | | // background: "bg.jpg", |
| | | // background: "static/images/zlm-logo.png", |
| | | loadingText: "加载中", |
| | | hasAudio: typeof (this.hasAudio) =="undefined"? true: this.hasAudio, |
| | | debug: false, |
| | |
| | | screenshot: false, |
| | | play: false, |
| | | audio: false, |
| | | recorder: false, |
| | | }, |
| | | record: "record", |
| | | vod: this.vod, |
| | |
| | | }); |
| | | |
| | | this.jessibuca.on("videoInfo", function (msg) { |
| | | this.videoInfo = msg; |
| | | // console.log("videoInfo", msg); |
| | | // this.videoInfo = msg; |
| | | console.log("videoInfo", msg); |
| | | |
| | | }); |
| | | |
| | |
| | | |
| | | <script> |
| | | import uiHeader from "./UiHeader.vue"; |
| | | import player from './jessibuca.vue' |
| | | import player from './dialog/jessibuca.vue' |
| | | import ChannelTree from './channelTree.vue' |
| | | |
| | | export default { |