<video id="myVideo" ref="myVideo" style="width:100%;" controls preload="auto" autoplay="true" muted ></video>
this.$nextTick(()=>{
this.myVideo = this.$refs.myVideo
this.myPlayer = new Hls();
this.myPlayer.loadSource('xxx');
this.myPlayer.attachMedia(this.myVideo);
this.myVideo.play();
})