Hello! :)
I've read the documentation but either didn't understand things right or didn't find 'em -> so I have some questions and it would be really great if someone could help me.
Attached is the current state of my mp3-playlist (swf_playlist_current.png) and also the visual target I'd like to reach (swf_playlist_target.png).
This is my code:
$playlist = array();
foreach ($node->field_media_upload AS $audio) {
$playlist[] = $audio['filepath'];
}
$playlist = swftools_prepare_playlist_data($playlist);
print swf_list($playlist,
array(
'params' => array(
'height' => 420,
'width' => 500,
'image' => false,
'base' => 'http://localhost/multisite/sites/default/files/user/1/audio'
),
'flashvars' => array(
'image' => 'adsf',
),
)
);
I don't know what's wrong but the params 'image' => false
and 'base' => '...path...'
are always ignored.
With swf();
it always worked.
The title of each track in the playlist could be either the 'filename' or (much better) the text of its description field.
Can someone tell me how to theme my swf output to reach the attached target?
If it is easier I could switch from cck filefield to attachments.
Thanks a lot in advance! :)
Stefan
Comment | File | Size | Author |
---|---|---|---|
#1 | swf_playlist_target.png | 3.23 KB | design.er |
swf_playlist_current.png | 10.93 KB | design.er |
Comments
Comment #1
design.er CreditAttribution: design.er commentedHere is the visual target.
Comment #2
szb100 CreditAttribution: szb100 commentedI have the same issue - any help?
Comment #3
Pav-2 CreditAttribution: Pav-2 commentedHas anyone fixed this I'm trying to follow this tutorial on JWPlayer playlists https://elearning.psu.edu/elearning/using-drupal-generate-jwplayer-frien... but can't get the xml to theme - if you know how to do this or how to create a playlist from YouTube using any player please let me know.
Any help will be much appreciated I'm a bit stuck now.