Closed (fixed)
Project:
Dash Media Player
Version:
6.x-1.5
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 May 2009 at 12:47 UTC
Updated:
24 May 2009 at 20:12 UTC
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
Comment #1
SamSound commentednvm
I was putting arg(0) instead of 1
it works now
i added $params['arg1'] = arg(1); into the block
Comment #2
travist commented