HTML video tag compatibility summary, htmlvideo tag Summary

Source: Internet
Author: User

HTML video tag compatibility summary, htmlvideo tag Summary

Recently, the video tag has been used in the project. Although the problem was uneven in the Pc, the basic functions are still complete. Here we will talk about its appearance.

 

In ios, full screen is used by default.

Webkit-playsinline = "true"/* This attribute is set in ios 10 to allow video playback in a small window, that is, whether full screen playback */x-webkit-airplay = "true"/* This attribute is unknown */playsinline = "true"/* the IOS browser supports playing in the window */

There is no problem with automatic playback and loop in ios, and the control of the controls (video control) is also effective. However, in Android, the controls is not automatically played and cannot be removed, loop will re-call the video control, a few ugly thieves...

I have referenced
<Script src = "http://api.html5media.info/1.1.8/html5media.min.js"> </script> (cool powder system... Haha ...) We use MP4 for ios, which cannot be played. This can solve the problem that videos of different formats cannot be played.


 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.