EasyPlayer.js

1,003 阅读1分钟

EasyPlayer播放器录像和快照API调用

EasyPlayer.js在vue集成的使用中,如何去使用播放器的API(快照、录像) 因为是在vue项目中可以使用ref

image.png 上面是vue官网ref的使用方法

同理在Easyplayer的使用中可以通过下方的截图方式进行,从而获取到播放器的实例,得到播放器中暴露的api

image.png

image.png

saveLocalSnapshot():保存快照

luXiangEle.onclick():录像点击

image.png

image.png

开放平台

EasyPlayer群1:544917793(已满) EasyPlayer群2:161592199

青犀TSINGSEE