nickk
19 Feb 2006, 02:18 PM
Hi,
Im a PHP coder and am coding a site where I need to control falsh videos (stop, play, pause, full screen, etc.). I know this is done at google videos(http://video.google.com/), but I cant figure out how to do it. The following is an example of my HTML code for the flash video:
<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="318" height="236" id="320x240" align="middle">
<PARAM NAME=allowFlashAutoInstall VALUE=true>
<param name=Flashvars value="url=<?php echo $row['videolocation']; ?>">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="320x240.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="320x240.swf" swLiveConnect="true"
Flashvars="url=<?php echo $row['videolocation']; ?>"
quality="high" bgcolor="#ffffff" width="318" height="236" name="320x240"
align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
The PHP code inbetween is just the code to get the location of different videos, ignore that. Does anyone know if its possible to control flash videos?
Im a PHP coder and am coding a site where I need to control falsh videos (stop, play, pause, full screen, etc.). I know this is done at google videos(http://video.google.com/), but I cant figure out how to do it. The following is an example of my HTML code for the flash video:
<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="318" height="236" id="320x240" align="middle">
<PARAM NAME=allowFlashAutoInstall VALUE=true>
<param name=Flashvars value="url=<?php echo $row['videolocation']; ?>">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="320x240.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="320x240.swf" swLiveConnect="true"
Flashvars="url=<?php echo $row['videolocation']; ?>"
quality="high" bgcolor="#ffffff" width="318" height="236" name="320x240"
align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
The PHP code inbetween is just the code to get the location of different videos, ignore that. Does anyone know if its possible to control flash videos?