How do I set flowplayer to automatically play the main file?

Phoca Download - download manager
serpento
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 19 Apr 2012, 00:55

How do I set flowplayer to automatically play the main file?

Post by serpento »

Hello guys!

I have a sound effects website. When I upload a file, it possible so that the "Play - File" field is automatically set to the filename? This is because I have a few hundred mp3 files (originally wav files, but they were converted in order for flowplayer to play it) and if I try to upload multiple files, it's impossible to manually add a Play File name to each file...

Is it possible to tweak a code so that flowplay/play button plays the uploaded file?

Thank you so much in advanced!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48595
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How do I set flowplayer to automatically play the main f

Post by Jan »

Hi, flowplayer automatically plays the file, if it is e.g. in modal box (after click on play link), so you can see the code and customize it to fit your needs. :idea: You will need some if clause too, to set which file will be played in case there are more files on the server.

Jan
If you find Phoca extensions useful, please support the project
Post Reply