Vue+Video.js rtmp/flv直播流媒体配置

 

rtmp/flv直播配置

必须引入flash 

//npm install videojs-flash

//import videojs-flash

id="my-player"
class="video-js vjs-default-skin vjs-big-play-centered vjs-fluid"
preload="auto"
autoplay
style="width: 1200px;height: 640px;"
controls
data-setup="{}"
>


import videojs from "video.js";
import "video.js/dist/video-js.css";
import "videojs-flas

你可能感兴趣的:(javascript,ViewUI)