Commit e0c379b9 by libai

测试

parent f1759021
Showing with 1 additions and 1 deletions
......@@ -1485,7 +1485,7 @@ $(function () {
function canplay(){
const a = document.createElement('a');
a.onclick = function(){
video.play();//这样就可以自动播放了
flvPlayer.play()
}
const event = new MouseEvent('click');
a.dispatchEvent(event );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment