Jquery Jplayer Dynamic Playlist

kosovapej

New Member
I am having trouble figuring out on how to force the Jplayer to read songs from a dynamic asp.net liberal list?Currently I have this for bringing a list of songs from the database:\[code\]<div class="jp-playlist"><ul><asp:Literal ID="ltRadio" runat="server" /></ul></div>\[/code\]The code below from the JPlayer demonstrates on how to add hardcoded songs to a playlist:\[code\]$(document).ready(function () {new jPlayerPlaylist({ jPlayer: "#jquery_jplayer", cssSelectorAncestor: "#jp_container_1"}, [{ title: "Cro Magnon Man", mp3: "http://www.jplayer.org/audio/mp3/TSP-01-Cro_magnon_man.mp3", oga: "http://www.jplayer.org/audio/ogg/TSP-01-Cro_magnon_man.ogg"}], { swfPath: "js", supplied: "oga, mp3", wmode: "window"});}); \[/code\]The question is how do I add songs from my 'Literal' list into the playlist?
 
Back
Top