求教Wordpress中HTML5音频播放插件安装问题

原创
2016-06-06 20:37:08 785浏览

我在Wordpress中用了HTML5主题,无法显示音频,但是找不到适合的音频播放插件(Wordpress插件中心找到的一些HTML5的音频播放插件没用)。
几番寻找找到了这个:http://kolber.github.io/audiojs/但是我不会安装,也不知道会不会有用。

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

下载之后便不会安装了

Installation

Put audio.js, player-graphics.gif & audiojs.swf in the same folder.
Include the audio.js file:
script src="/audiojs/audio.min.js"> Initialise audio.js:

Then you can use wherever you like in your HTML:

请教如何安装和使用。
如有更好的插件,希望不吝推荐,感激不尽!!

回复内容:

我在Wordpress中用了HTML5主题,无法显示音频,但是找不到适合的音频播放插件(Wordpress插件中心找到的一些HTML5的音频播放插件没用)。
几番寻找找到了这个:http://kolber.github.io/audiojs/但是我不会安装,也不知道会不会有用。

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

下载之后便不会安装了

Installation

Put audio.js, player-graphics.gif & audiojs.swf in the same folder.
Include the audio.js file:
script src="/audiojs/audio.min.js"> Initialise audio.js:

Then you can use wherever you like in your HTML:

请教如何安装和使用。
如有更好的插件,希望不吝推荐,感激不尽!!

直接写audio标签吧,默认给出的配置项和可操作函数,很简单的使用,现在所谓的播放器,都是封装函数加一些效果

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。