Mobile development video to do the background

Source: Internet
Author: User

I have only heard of using pictures to do the background, have not heard the use of video can also do background. This is not, the first few days there is really such a demand. So hurried on the Internet to check the information, found that there is really such a play abroad.

Now pick it up for the reference of the guys, maybe it will be useful when it.

Preview the results first:

The video is downloaded from the world, a very small section of MP4, and then use canvas to write a sentence: Animation over video!

This sentence is floating on the video above, and video playback, text will move, video pause, text also paused, to do seamless feeling.

Interested can go here to download source files: Https://github.com/bjtqti/xxt/tree/master/canvas-video

I only did the test on the ipad,pc, Android on the video support is not very good, temporarily give up.

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.