Example of simple links which the player will consider playable by default:
<a href="http://www.example.com/song1.mp3">My Song 1</a>
<a href="http://www.example.com/song2.wma">My Song 2</a>
<a href="http://www.example.com/song3.wav">My Song 3</a>
<a href="http://www.example.com/song4.asf">My Song 4</a>
Supported Attributes which can be applied to the anchor element:
-
href - URL for an audio file. For example:
<a href="http://www.example.com/song.mp3">My Song Title</a> -
title - a song title which will be used in the player:
<a href="http://www.example.com/song.mp3" title="My Album - My Song Title">My Song Title</a> -
tabindex - use it to change the order in which songs will be added to the player:
<a href="http://www.example.com/song1.mp3" tabindex="2">My Song Title 1</a> <a href="http://www.example.com/song2.mp3" tabindex="1">My Song Title 2</a> -
type - use audio/mpeg or audio/x-ms-wmv MIME types in cases when the file extension is not used in the URL and the link must be considered playable by the player:
<a href="http://www.example.com/song1" type="audio/mpeg">My Song Title 1</a> <a href="http://www.example.com/song2" type="audio/x-ms-wmv">My Song Title 2</a> -
Endlesssoft-MediaPlayer-Item-ImageUrl - URL to an album image which will be displayed in the player. Note: only such formats as .jpg, .png or .bmp can be used. For example:
<a href="http://www.example.com/song1.mp3" Endlesssoft-MediaPlayer-Item-ImageUrl="http://www.example.com/song1.jpg">My Song Title 1</a> <a href="http://www.example.com/song2.mp3" Endlesssoft-MediaPlayer-Item-ImageUrl="http://www.example.com/song2.png">My Song Title 2</a> <a href="http://www.example.com/song3.mp3" Endlesssoft-MediaPlayer-Item-ImageUrl="http://www.example.com/song3.bmp">My Song Title 3</a> -
class="Endlesssoft-MediaPlayer-Add" - explicitly marks audio that should be considered playable by the player:
<a href="http://www.example.com/song1" class="Endlesssoft-MediaPlayer-Add">My Song Title 1</a><div class="Endlesssoft-MediaPlayer-Add"> <a href="http://www.example.com/song1">My Song Title 1</a> <a href="http://www.example.com/song2">My Song Title 2</a> <a href="http://www.example.com/song3">My Song Title 3</a> </div> -
class="Endlesssoft-MediaPlayer-Skip" - explicitly marks audio that should not be considered playable by the player:
<a href="http://www.example.com/song.mp3" class="Endlesssoft-MediaPlayer-Skip">My Song Title 1</a><div class="Endlesssoft-MediaPlayer-Skip"> <a href="http://www.example.com/song1.mp3">My Song Title 1</a> <a href="http://www.example.com/song2.mp3">My Song Title 2</a> <a href="http://www.example.com/song3.mp3">My Song Title 3</a> </div>