How to install the HTML5 Audio Playback plug-in Wordpress

Source: Internet
Author: User
I have used HTML5 themes in Wordpress and cannot Display Audio. However, I cannot find a suitable audio playing plug-in (some HTML5 audio playing plug-ins found in the Wordpress plug-in center are useless ). Several times to find this: kolber. github. ioaudiojs, but I won't install it ,... I have used HTML5 themes in Wordpress and cannot Display Audio. However, I cannot find a suitable audio playing plug-in (some HTML5 audio playing plug-ins found in the Wordpress plug-in center are useless ).
Several times I found this: http://kolber.github.io/audiojs/but I will not install it, and I do not know it will be useless.

It uses nativeWhere available and an invisible flash player to emulateFor other browsers. It provides a consistent html player UI to all browsers which can be styled used standard css.
Download audio. js

No installation will be performed after the download.

Installation

Putaudio.js, player-graphics.gif & audiojs.swfIn the same folder.
Include the audio. js file:
<script src="/audiojs/audio.min.js?1.1.15">《script》Initialise audio.js:《script》 audiojs.events.ready(function() { var as = audiojs.createAll(); });《script》

Then you can use wherever you like in your HTML:

Ask how to install and use it.
If there is a better plug-in, I hope it will not be recommended. thank you !!

Reply content:

I have used HTML5 themes in Wordpress and cannot Display Audio. However, I cannot find a suitable audio playing plug-in (some HTML5 audio playing plug-ins found in the Wordpress plug-in center are useless ).
Several times I found this: http://kolber.github.io/audiojs/but I will not install it, and I do not know it will be useless.

It uses nativeWhere available and an invisible flash player to emulateFor other browsers. It provides a consistent html player UI to all browsers which can be styled used standard css.
Download audio. js

No installation will be performed after the download.

Installation

Putaudio.js, player-graphics.gif & audiojs.swfIn the same folder.
Include the audio. js file:
<script src="/audiojs/audio.min.js?1.1.15">《script》Initialise audio.js:《script》 audiojs.events.ready(function() { var as = audiojs.createAll(); });《script》

Then you can use wherever you like in your HTML:

Ask how to install and use it.
If there is a better plug-in, I hope it will not be recommended. thank you !!

Directly write the audio tag. by default, the configuration items and operational functions are provided, which are very easy to use. Currently, the so-called players are all encapsulated functions to add some effect.

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.