HTML5 video playback plug-in and html5 playback plug-in

Source: Internet
Author: User

HTML5 video playback plug-in and html5 playback plug-in

First, push the artifact

JPlayer:Audio and video players based on HTML5/Flash

JPlayer is completely written in JavaScript.Free and open-source(MIT) jQuery multi-media library plug-in (now also a Zepto plug-in );

JPlayer allows you to quickly writeCross-platformWeb pages that support audio and video playback.

The rich APIs of jPlayer allow you to create a personalized multimedia application, so it is also supported and encouraged by more and more community members.

Official Website: www.jplayer.cn

English: www.jplayer.org

1. Prepare

Jquery.min.js?jquery.jplayer.min.js=jquery.jplayer.swf (download from the official website)

There is also an audio file

2. Code

<Html> 

 

Appendix: audio files supported by HTML5

File Format media type
MP3 audio/mpeg
Ogg audio/ogg
Wav audio/wav

Different browsers have different support.

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.