В файле /engine/classes/parse.class.php
Находим:
$txt = preg_replace( "#<!--dle_video_begin-->(.+?)src="(.+?)"(.+?)<
;!--dle_video_end-->#is", '[video=2]', $txt );
И меняем на:
$txt = preg_replace( "#<!--dle_video_begin-->(.+?)flashvars="(.+?)"(;.+?)<!--dle_video_end-->#is", '[video=2]', $txt );
Находим:
return "<!--dle_video_begin:{$url}--><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="380" height="300">
<param name="movie" value="".$config['http_home_url']."engine/classes/flashplayer/player.swf?movie={$url}&volume=100&autorewind=on&autoload=false&bgcolor=0x051615&fgcolor=0x13ABEC" />
<param name="allowFullScreen" value="true" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000000" />
<param name="wmode" value="opaque" />
<embed src="".$config['http_home_url']."engine/classes/flashplayer/player.swf?movie={$url}&volume=100&autorewind=on&autoload=false&bgcolor=0x051615&fgcolor=0x13ABEC" quality="high" bgcolor="#000000" wmode="opaque" allowFullScreen="true" width="380" height="300" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object><!--dle_video_end-->";
И меняем на:
return "<!--dle_video_begin:{$decode_url}--><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="550" height="450" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="".$config['http_home_url']."engine/classes/flashplayer/player.swf?file={$url}" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000000" />
<embed src="".$config['http_home_url']."engine/classes/flashplayer/player.swf" width="550" height="450" allowfullscreen="true" flashvars="&file={$url}&image={$option[1]}&showdigits=true&autostart=false&overstretch=false&showfsbutton=true&allowfullscreen=true&backcolor=0x000000&lightcolor=0xCC0000&frontcolor=0xCCCCCC&logo=/logo.png"></embed>
</object><!--dle_video_end-->";
Должно пойти. У меня все работает нормально, и даже при редактировании выводится
[video=x.flv]