mui use video.js Android phones can not play videos full-screen problem

mui framework uses video.js to play video, full screen iPhone no problem, but full-screen Android phones flashed exit, the reason is because the introduction of mui.js, lead and video. js conflict, touch events performed twice, the solution is video.js click the full screen button once after the stop code

 

mui("#my-video").on("touchstart",".vjs-control",function(){
return false;
});

Guess you like

Origin www.cnblogs.com/lishuang2243/p/11563420.html