PDA

View Full Version : Content Path


butterbean105
07-06-2008, 09:37 PM
I am in need of an example, of the correct content path coding..


/// My goal is to select what flashvideo url. My video player plays through html code.


Please give example of Flash Coding & Html Coding thanks -



:confused:


I suppose the html code would go something like this

<objectclassid="clsid : D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" viewastext="" id="Object1" height="380" width="448">

<param name="movie" value="player.swf?src=video.flv">
<param name="quality" value="high">

<embed src="player.swf?src=video.flv" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" height="380" width="448"></embed>

gnomeontherun
07-07-2008, 06:06 PM
Read my post in my signature about embedding Flash properly. It provides a method which you can pass a variable to Flash from the web page.

ramm19
07-15-2008, 06:35 PM
BB105, swfobject is a better approach as jeremy suggested, but for what you're asking, the way to retrieve the video source from the code you are providing, you have to do something like:

FLVplayerInstanceName.contentPath = _root.src;