Quote:
Originally Posted by PAKIDIL
will this work for the .swf and .flv formats ?
|
It's possible but you need to upload flvPlayer.swf to your server!
* See attachment
In your Controlpanel go to your AME CP section then click: Add New Definition.
Then just fill out the form
New Media Definition
Title: <b><i>Flash Files at YOURSITENAME</i></b>
Description: Embed Locally Hosted <b>.flv</b> Files!
Display Order: 0
Active: Yes
Contain: Yes
Regular expression: ([
http://]*[\w]*[\.]*YOURSITENAME\.[\w/&;%-\.]+\.flv)
Replacement:
<object width="580" height="480" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/
shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
<param name="flashvars" value="file=$p1&fullscreen=true" />
<param name="allowfullscreen" value="true">
<param name="movie" value="http://www.YOURSITENAME.com/flvplayer.swf" />
<embed src="http://www.YOURSITENAME.com/flvplayer.swf" width="580" height="480" bgcolor="#FFFFFF" allowfullscreen:"true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowfullscreen="true" flashvars="file=$p1&fullscreen=true" />
</object>
Extract destination data: Yes
Then click:
Save
Click
here for live demo!!!
Keep in mind: This article is written to support .flv