How can I send variable to flv player without page reloading. I want that when I will click on a video image then it will play at flash player without page reloading. Here is my html code for player: <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="360" height="330" id="source" align="middle"> <param name="allowScriptAccess" value="sameDomain"> <param name="allowFullScreen" value="false"> <param name="movie" value="source.swf?video=222222.flv"> <param name="quality" value="high"> <param name="bgcolor" value="#f1f1f1"> <embed src="source.swf?video=222222.flv" quality="high" bgcolor="#ff0000" width="360" height="330" name="source" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></object> Is it need function() to load without full page reloading? I dont know. PLEASE HELP ME
You COULD use javascript to change the source of the FLV file, but I doubt if that will work. The best thing to do is iframe a php file, handling the source of the FLV file. Page: <iframe src="xx.php?source=xx" width="xx" height="xx" name="frame"></iframe> Code (markup): Hyper link on the image: <a href="xx.php?source=xx" target="frame">image..</a> Code (markup): PHP file; echo $_GET['source']; Code (markup): At the location of the embed src. That's at least how I would do it.