Replace audio/video link with jPlayer( http://jplayer.org/ ). Most are written in JavaScript with jQuery such as selecting elements to replace.
<a href="http://example.com/path/to/audio-or-video.mp4">Example audio or video</a>
If you write a link like above, Link2Player replaces it with jPlayer.
.m4a .mp3 .ogg .oga .fla .wav .webma
.m4v .mp4 .flv .ogv .webmv .webm
Playable or not belongs to browser accessing your blog. mp3, m4a, m4v, mp4 may be playable in most browsers.
Selecting links by extension like $('a[href$=mp3]'). If there is a query string( ?foo=bar ) or extension not supported, Link2Player does not work. Most are written in JavaScript. If your theme loads old jQuery in it's own accord, Link2Player may not work. I have not tried with any old jQuery.
Requires: 3.2 or higher
Compatible up to: 3.2.1
Last Updated: 2011-12-6
Downloads: 1,883
Got something to say? Need help?