From: bhupinder1045 at gmail dot com Operating system: Vista PHP version: 5.3.1 PHP Bug Type: *PDF functions Bug description: using swf object the flv extension videos not playing
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 bug report at http://bugs.php.net/?id=50986&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50986&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50986&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50986&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50986&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50986&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50986&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50986&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50986&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50986&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50986&r=support Expected behavior: http://bugs.php.net/fix.php?id=50986&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50986&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50986&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50986&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50986&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50986&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50986&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50986&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50986&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50986&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50986&r=mysqlcfg