Using a media player with Playlists
Using Jamroom
Cool, you're helping a lot,
but how can i access the jrCore_media_play_key?
I want to play it on the site using the jPlayer library.
<a href="#" id="addmusictolist" data-title="{$item.audio_title_url}" data-artist="{$item.audio_file_artist}" data-mp3="{$jamroom_url}/{$item.profile_url}/audio/{$item._item_id}/{$item.audio_file_name}" data-poster="{$jamroom_url}/{$item.profile_url}/audio/{$item._item_id}/{$item.profile_image_name}">
$(document).on('click','#addmusictolist',function(){
myPlaylist.add(
{
title: $(this).attr('data-title'),
artist: $(this).attr('data-artist'),
mp3: $(this).attr('data-mp3'),
poster: $(this).attr('data-poster'),
}
)
}
)
{jrCore_media_player type="jrPlaylist_player_dark" module="jrPlaylist"}