Single File Players – Text

Single file players can be modified in various ways by using shortcode parameters, this page shows a few examples along with the shortcodes.

 
1) Play a url:

Play seven

Shortcode:
[mp3t track="http://sjward.org/seven.mp3"]

 
 
2) Play a media library file:

Play Octopus - Jamma

Shortcode:
[mp3t track="octopus.mp3"]

 
 
3) Play a default folder file, add a volume control:

Play nightdrive

Shortcode:
[mp3t track="nightdrive.mp3" volslider="y"]

 
 
4) Change the title, and button text:

Start me! Night Drive

Shortcode:
[mp3t track="Night Drive@nightdrive.mp3" play="Start me!" stop="Pause it!"]

 
 
5) Flip button to other side, remove time/indicator:

Fireheart Play

Shortcode:
[mp3t track="Fireheart.mp3" flip="y" ind="n"]

 
 
6) In line with text without line breaking:

Listen to this… Start Me Radiohorse …it’s by The Horse.

Shortcode:
[mp3t flow="y" play="Start Me" stop="Stop Me" track="horse/5-Radiohorse.mp3"]

 
 
7) Make it loop, and set the volume:

Play tumbledown

Shortcode:
[mp3t track="tumbledown.mp3" loop="y" vol="75"]

 
 
8) Just a play button and time, make it bigger:

Play

Shortcode:
[mp3t track="tumbledown.mp3" title="" volslider="y" fontsize="30px"]

 
 
9) Just a title:

tumbledown

Shortcode:
[mp3t track="tumbledown.mp3" play="" stop="" ind="n" fontsize="30px"]

 
 
10) Play from subfolder of the default folder, add a caption, remove time/indicator, set the font size:

Play Maria - by The Horse

Shortcode:

[mp3t track="horse/Maria.mp3" caption="by The Horse" ind="n" fontsize="25px" volslider="n"]

 
 
11) Change font size egs:
 

Play Penelope

Shortcode:
[mp3t track="penelope.mp3" fontsize="12px"]
 

Play Penelope

Shortcode:
[mp3t track="penelope.mp3" fontsize="17px"]
 

Play Penelope

Shortcode:
[mp3t track="penelope.mp3" fontsize="22px"]
 

Play Penelope

Shortcode:
[mp3t track="penelope.mp3" fontsize="33px"]



Posted in Demos.



Copyright © 2017 MP3-jPlayer, Simon Ward, Matt Jones, Jack Dale.