Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var art = new Artplayer({ container: '.artplayer-app', url: '/assets/sample/video.mp4', }); art.on('ready', () => { art.url = '/assets/sample/video.mp4' console.log("ready") }); art.on('restart', (url) => { console.info('restart', url); });
在在线编辑器中发现只会打印ready,而没有restart
The text was updated successfully, but these errors were encountered:
文档写漏了,触发restart的还有一个前提是,前后两个url是不一样的:demo
在在线编辑器中发现只会打印ready,而没有restart
The text was updated successfully, but these errors were encountered: