Hello folks,

I'm playing around with a web page that serves up an image or video file.
If I use straight HTML I can create a link that says something like "<img
src=myfile.mpg>" and have the video display when the link is clicked, but I
can't get the right syntax using CGI.pm. Probably trivial, but...

The link that I'm testing with looks like this: "<a
href=http://gromit/cgi-bin/juggling.pl?video=rr.mpg>Rubinstein's
Revenge</a>"

Here's my code...

-----------------------------------------------------------
#!/usr/bin/perl -w
use strict;
use CGI;

my $query = CGI -> new();
my $vidfile = $query -> param("video");
print $query -> header();

<the mystery statement>

print end_html;
-------------------------------------------------------------

Question is, how do I get the script to display the video. Doesn't seem like
a print statement is what I want...
Any help?

Thanks!

Rich

Reply via email to