Skip to content

Instantly share code, notes, and snippets.

@loudnarrative
Created April 12, 2012 04:25
Show Gist options
  • Save loudnarrative/2364575 to your computer and use it in GitHub Desktop.
Save loudnarrative/2364575 to your computer and use it in GitHub Desktop.
Initialize jquery.lnplayer
// initialize lnplayer with default settings
$('#demo').lnplayer();
// initialize lnplayer with custon settins
$('#demo').lnplayer({
'transition' : 'crossfade',
'speed' : 2000,
'bg_color' : 'black',
'border_color' : 'black',
'border_width' : 5,
'mp3' : 'audio/streetmusic-harmonica.mp3',
'ogg' : 'audio/streetmusic-harmonica.ogg',
'wav' : 'audio/streetmusic-harmonica.wav',
'fill_space' : true
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment