Your Ad Here

How to embed Ripe FLV Player into website?

October 9th, 2008 No Comments   Posted in Uncategorized

Here is some tips for embedding the player into website.

This settings xml can be fed to the player using flashvars.

<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=”470″ height=”350″ id=”mediaplayer” align=”left”><param name=”allowScriptAccess” value=”sameDomain” /><param name=”allowFullScreen” value=”false” /><param name=”flashvars”

value = “settings=config.xml/.php/.asp/anyscript”><param name=”movie” value=”mediaplayer.swf” /><param name=”quality” value=”high” /><param name=”bgcolor” value=”#000000″ />

<embed src=”mediaplayer.swf?settings= config.xml/.php/.asp/anyscript” quality=”high” bgcolor=”#000000″ width=”470″ height=”350″ name=”mediaplayer” align=”left” allowScriptAccess=”sameDomain” allowFullScreen=”false” type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer” />

Now you can also pass one more flashvars for separate flv video file path. The new flashvars file name is “file”.

—————————–

<param name=”flashvars

value = “file=flv_video_file_path”>

[or]

src=”mediaplayer.swf?file=flv_video_file_path

————————–