djdon11 Posted June 20, 2007 Share Posted June 20, 2007 hello frndsss please chck out this link http://www.aurelis.org/Aurelinar/aurelinar1.php here u can found a wimpy player object which plays a video clip on load... here are three buttons 1 below aother... this is ok 1,this is ok 2, this is ok 3..... i want to play three diffrent video on diffrent button click.... there is also a 4th button below these buttons tat is automatically next... whenever user press tat button the all three clips should b play 1 by 1...... can anybody help me out....... here is the existing code of the page which plays a video clip when page get load.....] <? $page_title="Aurelinar 1"; $page_tab=2; $lang="D"; include($DOCUMENT_ROOT . "/Connections/Aurelis.php"); include_once($DOCUMENT_ROOT . "/includes/functions/get_label.php"); include($DOCUMENT_ROOT . "/header_aurelis.php"); ?> <!-- CONTENT --> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //--> </script> <table width="792" align="center" border="0" cellpadding="10" cellspacing="0"> <tr> <td width="231" height="122" align="left" valign="top"> <!-- Wimpy Player Code --> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="244" height="207" id="wasp22811" name="wasp22811" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="http://www.aurelis.org/wimpywasp/wasp.swf" /> <param name="loop" value="false" /> <param name="menu" value="false" /> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <param name="bgcolor" value="#000000" /> <param name="flashvars" value="theFile=http://www.aurelis.org/wimpywasp/example1.flv&startPlayingOnload=yes&bufferSeconds=5&videoSmoothing=yes" /> <embed src="http://www.aurelis.org/wimpywasp/wasp.swf" flashvars="theFile=http://www.aurelis.org/wimpywasp/example1.flv&startPlayingOnload=yes&bufferSeconds=5&videoSmoothing=yes" loop="false" menu="false" quality="high" scale="noscale" salign="lt" width="244" height="207" name="wasp22811" align="middle" bgcolor="#000000" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> <!-- End Wimpy Player Code --> <p> </p> <p> <br><br> <font size="+5"><input type="reset" value=" This is OK1 " onClick="allclear();" id="clear"></font> <br><br> <font size="+5"><input type="reset" value=" This is OK2 " onClick="allclear();" id="clear"></font> <br><br> <font size="+5"><input type="reset" value=" This is OK3 " onClick="allclear();" id="clear"></font> <br><br> <font size="+5"><input type="reset" value=" This is OK4 " onClick="allclear();" id="clear"></font> <br><br> <br><br> <font size="+5"><input type="reset" value=" Automatically to Next " onClick="allclear();" id="clear"></font> <br><br> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p align="center"><a href="../aurelis_online/index.php"><img src="../images/Aur_OnLine.gif" width="160" height="59" border="0"></a> <br> <a href="../aurelis_online/index.php">Start now </a> <p> </p></td> <td width="450" align="left" valign="top"> <!-- /CONTENT --> <p><img name="Image" src="images/A1_01.jpg" width="522" height="412" alt=""></p></td> </tr> </table> <? include($DOCUMENT_ROOT . "/footer_aurelis.php"); ?> Link to comment https://forums.phpfreaks.com/topic/56466-streaming-video-code-in-php-to-play-flv-video/ Share on other sites More sharing options...
Recommended Posts