Hi,
I'm trying to launch a flash video from an iframe to play in a video player on another layer. In HTML it works, but I'm a little confused on how to incorporate a database call and javascript into the same line.
Here's the HTML version that works:
<a href="javascript:createplayer('/video/test.flv')">Test Video</a>
Here's the PHP I'm trying to fit this into:
...
echo "<tr>";
$filename = explode("/",$rfiles['vidlink']);
echo "<td bgcolor=".$rowcolor." style=\"padding-left:5px\" class='normal'><a href=javascript:createplayer(/'".$rfiles['vidlink']."') >".$rfiles['vidname']."</a></td></tr>";
The code does retrieve the vidlink/vidname file just fine. The problem is it won't launch in the video player on another layer. Any help would greatly be appreciated! Thanks. Jeff