0

Hi frnds...
I need to integrate php variable with vedio scripting file.....

i fetch my vedio file path from database...here i need to replace the file=videos/movieimgae.swf ....with $vedio..

<?php
$vedio="vedios/aaa.php";

?>
<SCRIPT type=text/javascript>
var s1 = new SWFObject('player.swf','player','400','300','9');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars','file=[B]videos/movieimgae.swf[/B]');
s1.write('preview');
                        </SCRIPT>
2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by ShawnCplus
0

Hi....

sry..
in the above code...

<?php
$vedio="vedios/[B]aaa.swf[/B]" ;
?>

is not a php file. its a vedio file.....

0

Hi frnds...
I need to integrate php variable with vedio scripting file.....

i fetch my vedio file path from database...here i need to replace the file=videos/movieimgae.swf ....with $vedio..

<?php $video="vedios/aaa.php"; ?>
<script type="text/javascript">
  var s1 = new SWFObject('player.swf','player','400','300','9');
  s1.addParam('allowfullscreen','true');
  s1.addParam('allowscriptaccess','always');
  s1.addParam('flashvars','file=[B]<?php echo $video ?>[/B]');
  s1.write('preview');
</script>
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.