Pay Per Listen for Joomla


Hits: 6480  

HTML5 Audio Player with Playlist HTML5 audio the element enable native audio playback within the browser. It supports all browsers i.e. iOSAndroid, Firefox, Chrome, Safari, IE and Opera.

HTML5 Audio Player with Playlist, Repeat, Stream Seek, Volume Control, Timer, Next, Previous, Play-Pause option.

Now Play Your Favorite Radio FM Stream in HTML5 XML Playlist Player 

Horizontal Playlist

Vertical Playlist

 

You can sell MP3, Music, Words library or other audio material on demand with “Pay Per Listen for Joomla”.
“Pay Per Listen for Joomla” can be used for single tracks, multiple tracks, multi-product packages can be sold as one product, for the normal or a discounted price.
Music publishers, music labels, ring tone producers, sound effects producers and other audio content distributors will use the single or multiple item capability of the “Pay Per Listen for Joomla” to makes it easy to price, promote, sell and deliver any sort of audio content.

XML based HTML5 MP3 Player can be used for integrating Free Music Preview & Paid Full Music easily 😉

Free Music Preview
{html5mp3playlist id=1 type=small}{/html5mp3playlist}

Paid Full Music
{html5mp3playlist id=1 type=full}{/html5mp3playlist}

 

Joomla Back End

 

Joomla Front End

 

Demo Site: http://joomla.svnlabs.com/j1.6/index.php/80-news-lyrics/87-1

Stream MP3 using PHP – m3u


Hits: 6540  

M3U is a computer file format that stores multimedia playlists.

<?php

function m3u_stream($dir) {

$mp3=””;
$siteurl=”http://www.domain.com/mp3/”;

$h1 = opendir($dir);

while ($file = readdir($h1))
{

if ($file == ‘.’ || $file == ‘..’) continue;
$mp3.=$siteurl.basename($dir).”/”.$file.”\r\n”;

}

closedir($h1);

return $mp3;

}

$folder = “svnlabs”;

file_put_contents($folder.”.m3u”, m3u_stream($_SERVER[“DOCUMENT_ROOT”].”/mp3/”.$folder.”/”));

?>

Here “svnlabs” is a folder where all mp3 files exists… this program will create svnlabs.m3u playlist file using php script.

svnlabs.m3u file contents all mp3 links with domain “http://www.domain.com/mp3/”

svnlabs.m3u
………………



……………………

Now http://www.domain.com/mp3/svnlabs.m3u can be used for streaming mp3 from www.domain.com