Click to See Complete Forum and Search --> : Create an .mpg playlist in Perl/CGI


riona_f
05-17-2004, 12:32 PM
Hello folks!

I'm trying to build up a playlist "on the fly".

My web page processes a string of words & plays videos (.mpg format) of sign language for each word. e.g. The user inputs "today is monday" and my script creates a playlist of the videos for "today", "is" and "monday". I've managed to embed videos onto the site using this code:

print "<embed width=\"300\" src=\"today.mpg\" height=\"325\" controller=\"false\" border=\"0\" target=\"myself\" autostart = false</EMBED>";

and I can get the correct videos playing using if statements:
if($words[$i] eq "monday")
{
print "<embed width=\"300\" src=\"monday.mpg\" height=\"325\" controller=\"false\" border=\"0\" target=\"myself\" autostart = false</EMBED>";
}

Unfortunately, this displays a media player screen for each video. I'd like them to play consecutively in a single media player. Any help you can give me would be MUCH appreciated!

Riona