vue3中使用EasyPlayer播放h265视频流

Source

1、下载EasyPlayer 5.0.3版本

在package.json中加入EasyPlayer,并全局install下
"dependencies": {
   
    
      
	"@easydarwin/easyplayer": "^5.0.3"
}

2、找到node_modules中的EasyPlayer.wasm和EasyPlayer-element.min.js
在这里插入图片描述
3、复制到public下面,并复制一个jQuery.man.js,否则会出现问题。
在这里插入图片描述
4、在index.html中引入jquery.min.js和EasyPlayer-element.min.js