"Acura Code" general person I do not tell him that the phone-side h5 not automatically full-screen code when playing

Source: Internet
Author: User

Tested for iOS, some Android phones play video will appear in the player control (this is really unable to spit out the slot, because it was not possible to exit the full screen after the video after the situation, only after the play to refresh the page and to put on the frames page to block the video ads!), Before using Canvans rendering, feel not too perfect, but also into a background switch form (with the background switch form can be perfectly solved when a container has transform:rotate (90deg) attribute when the adaptive percentage problem, If Canvans need to calculate aspect too troublesome also need to consider different systems).

Want to phone side H5 play when not automatically full screen than imagined simple, look at the bold part, General people I don't tell him oh.

<video id= "video" poster= "" width= "100%" height= "100%" x-webkit-airplay= "true" webkit-playsinline= "true" >
<source src= "Http://file.ih5.cn/files/34906/16999/1f3b3c.mp4" type= "Video/mp4" codecs= "avc1.42e01e,mp4a.40.2" >
</video>

"Acura Code" general person I do not tell him that the phone-side h5 not automatically full-screen code when playing

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.