mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 20:51:53 +02:00
flash bb code wasn't parsing {e_PLUGIN} etc correctly.
This commit is contained in:
parent
7500419caf
commit
6f02e68d3f
@ -1,6 +1,6 @@
|
||||
// USAGE: [flash=width,height]http://www.example.com/file.swf[/flash]
|
||||
|
||||
$movie_path = "http://".eregi_replace("http://", "",$code_text);
|
||||
$movie_path = (substr($code_text,0,4) == "http") ? "http://".eregi_replace("http://", "",$code_text) : $code_text;
|
||||
$movie_path = $tp -> toAttribute($movie_path);
|
||||
|
||||
$parm_array = explode(",",$parm);
|
||||
@ -18,4 +18,5 @@ return "<object type='application/x-shockwave-flash' data='$movie_path' width='$
|
||||
<param name='movie' value='$movie_path' />
|
||||
<param name='quality' value='high' />
|
||||
<param name='allowscriptaccess' value='samedomain' />
|
||||
</object>";
|
||||
</object>";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user