javascript - How to play a video in a new tab after clicking a button?
过去多啦不再A梦2017-05-16 13:29:09
0
2
524
I used window.open("http://statics.ddedu.com/public/ebag/video/promotional video.mp4"); But this uses the browser to play the video, the browser The support is not good, how to use H5 video to play the video in the new tab page?
Then you can write a separate page, and the only function of that page is to play videos.
Add an autoplay attribute to the video tag, and turn on autoplay on the 'autoplay="autoplay"' page.