ive created a playlist

ive put this in to a block

$params['width'] = 520;
$params['height'] = 111;
$params['skin'] = 'audiopro';
$params['playlist'] = 'audio';
$params['autostart'] = 'true';
print dashplayer_get_player($params);

and set the block to display on user/*
so each user will have there own playlist.

Im trying to add an argument, that will only display the audio nodes uploaded by the UID from url.

I can add filters in the audio view, i.e can filter to display only nodes by a certain user. But i cant add arguments, whenever I do nothing shows up in the player.

I can get the player to work, and play all audio nodes. How do I add arguments to the player from here?

Thanks

Comments

SamSound’s picture

nvm
I was putting arg(0) instead of 1

it works now

i added $params['arg1'] = arg(1); into the block

travist’s picture

Status: Active » Closed (fixed)