1, download the official package js
https://open.ys7.com/mobile/download.html
2, (the downloaded package ezuikit.js js) is placed under static vue
3, incorporated index.html
<script src="static/ezuikit.js"></script>
4, close eslint
config/index.js
useEslint: false, // (set to false)
5, used in the assembly
<video
id='myPlayer'
src = 'Your video playback address'
Whether using the controller controls //
autoplay // whether to automatically play
>
</video>
<script>
let unpainted
setTimeout(function(){
player=new EZUIKit.EZUIPlayer('myPlayer')<
}, 2) // Note: since vue project is a one-time data is read, the initialization delay time to be set, or can not be found will be reported dom
palyer.stop () // Note the page jump off the video stream, vue jump original mission does not stop
</script>