I've tried the regexp event_plugin. I'm using this regular expression to insert a Flash Video Player:
Code: Select all
<?php
// Flash Player.
//
$regexpArray = array(
'SearchArray'=>array(
'/<flv:([^>]+)\/>/U'
),
'ReplaceArray'=>array(
'<object type="application/x-shockwave-flash" width="320" height="240" data="http://mydomain.de/player/flvplayer.swf?file=/movies/%s"><param name="movie" value="http://mydomain.de/player/flvplayer.swf?file=/movies%s" /></object>'
)
);
Code: Select all
Here is my new Video:
<flv: Video.flv />
Thanks, Lordcoffee.