MyBB Community Forums
Embed Flashplayer [solved] - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Requests (https://community.mybb.com/forum-65.html)
+---- Thread: Embed Flashplayer [solved] (/thread-24386.html)



Embed Flashplayer [solved] - Abbadon - 2007-10-01

Hi, im looking for a plugin to embe jeroenwijering Flashplayer in my Forum. With this mod, user should be able to embe Flashvideos with the MyCode [video]*url*[/video]. Settings should include a field to set the path to the player, the width and heigth of the player and maybe the name of the MyCode.

Here is a wizard to generate an embed code for a single FLV file.

Would be nice if somebody could do this mod!

Greets Abbadon


RE: Embed Flashplayer - Yumi - 2007-10-03

Go into AdminCP -> Message Filters -> Custom MyCode. Add the following

Name: You pick Toungue
Regular expression:
\[video\]([a-z]+?://)([^\r\n\"\[<]+?)\[/video\]
Replacement:
<embed src="http://www.jeroenwijering.com/embed/mediaplayer.swf" width="320" height="180" allowfullscreen="true" allowscriptaccess="always" flashvars="&file=$1$2" />

You'll probably want to change the width and height. You also may want to investigate the allowscriptaccess property - I'm not too certain what it does.


RE: Embed Flashplayer - Abbadon - 2007-10-03

Thank you ZiNga BuRgA! Works greate! Cool