{FLASH:URI,WIDTHxHeight}
URI = the addrees to the flash file.
height = the height of the file.
width = the width of the file.
This works perfectly well for me, but Im afaily new to PHP. So feel free to rewrite or improve it.
The file to modify is include/inc_front/front.func.inc.php
Find your way to the last replacement tag definition, in my case it was [BOOKMARK],
I'm not sure what the numbers in the following lines is...
$search[26]
$replace[26]
But jusging from the fact that it was being incremented as it went, I didnt want to rock the boat so what I did was simply include my piece of code as entry number 27. LOL You may need to use a du=ifferent number I suppose if you already have a 27. (Maybe some one can explain it to me.)
Any way, heres what the code looks like that you will add.
Code: Select all
// insert non db Flash standard
$search[27] = '/\{FLASH:(.*),(\d+)x(\d+)\}/';
$replace[27] = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="$2" height="$3"><param name="movie" value="$1"><param name="quality" value="high"><embed src="$1" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="$2" height="$3"></embed></object>';