hello...i cant seem to find any real documentation on the api for this...can you help?

also, specifically, i am using imagerotator and swftools to create xml file:


$playlist = swftools_playlist_from_upload(307);
print swf_list($playlist);

but i need to pass image title and description to the player...how does one accomplish this? snippet would be amazing. thanks!

Comments

sime’s picture

I've set up the demo pages at http://emspace.com.au/demo/swftools as simple documentation by example. But you're right, there is a lot of flexibility that is not documented yet.

The documentation will be here:
http://drupal.org/node/143658

funkeyrandy’s picture

thanks!

ive been there, but have not seen a parameter for passing additional info (i.e title/description) to xml for output in the rotator playlist.....right now, i can only pass the image itself....using the above code snippet.

really apreciate your help!

thanks

sime’s picture

This should possibly be happening automatically. I assume you want the file description on the uploaded file to be used as the caption. I will check the imagerotator api and find out why this is not working. I'll do this in a couple days.

funkeyrandy’s picture

ok thanks!!! here is the xml ...i have no idea where the "hey there" is coming from:

<playlist version="1" xmlns="http://xspf.org/ns/0/">
            <title></title>
            <info></info>
            <annotation></annotation>
            <trackList>
            <track>
<title>files/images/image1.preview.jpg</title>
<creator></creator>
<location></location>
<info>Hey there</info>
</track>
</trackList>
           </playlist>
funkeyrandy’s picture

any word on this?

stevencrichton’s picture

Hi is there any action on this,

The documentation for any playlist or useful integration is quite patchy for playlists.

I really need the ability to create full playlists for an audio project for a UK magazine which use remote hosts for the files.

Therefore being able to use CCK with the playlist creator would be ideal. However so far not much luck.

Stuart Greenfield’s picture

Status: Active » Closed (fixed)

Closing this to tidy up issue queue. Documentation is better developed and will continue to evolve as and when I (and others!) contribute.