#50986 [Opn->Bgs]: using swf object the flv extension videos not playing
ID: 50986
Updated by: pajoye@php.net
Reported By: bhupinder1045 at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: *PDF functions
Operating System: Vista
PHP Version: 5.3.1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2010-02-10 07:21:47] bhupinder1045 at gmail dot com
Description:
------------
<script type="text/javascript"
src="../flashplayer/swfobject.js"></script>
<div id="flashplayer"></div>
<div id="container" style="padding-left:4px"></div>
<script type="text/javascript">
var file = "<?php echo $videoName!='' ? $videoName : '';
?>"; //
for uploaded file name.
//var utube = "<?php echo $youLink!='' ? $youLink : ''; ?>";
// for
utube link..
alert(file)
var s1 = new
swf("../flashplayer/mediaplayer.swf","mediaplayer","500","320","8");
//var s1 = new
SWFObject("../flashplayer/mediaplayer.swf","mediaplayer","500","320","8");
s1.addParam("allowfullscreen","true");
s1.addVariable("width","500");
s1.addVariable("height","320");
s1.addVariable("autostart","false"); // 'true' terurn auto run
s1.addVariable("repeat","true"); // 'true' terurn auto run
s1.addVariable("autoPlay", "no");
// s1.addVariable("soundPath", "<?php echo
VIDEO_PATH.$getVideo['video_filename']; ?>");
//s1.write("flashplayer");
alert(file)
// if(utube == '')
s1.addVariable("file",file);
// else
// s1.addVariable("file",utube);
s1.write("container");
</script>
Reproduce code:
---------------
---
From manual page: function.swf-actionplay#Description
---
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50986&edit=1
Thread (2 messages)