https://www.icyphoenix.com/viewtopic.php?f=35&t=7652&p=51641#p51641
-----------------------------------
mort
Sat 19 Feb, 2011 00:12

Re: Bbcode Web Tags?
-----------------------------------
Took 20 minutes - -  :mryellow: 

[b]BINGO![/b]

Have a play with this using the [flash] tags, see what you can come up with as the best optimal sizes etc, then it can be written up with its own bbcode script. ;)

Find in includes/bbcode.php

[code linenumbers=false]Find:

				if (($tag === 'flash') || ($tag === 'swf'))
				{
					$html = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="' . $width . '" height="' . $height . '"><param name="movie" value="' . $content . '"><param name="quality" value="high"><param name="scale" value="noborder"><param name="wmode" value="transparent"><param name="bgcolor" value="#000000"><embed src="' . $content . '" quality="high" scale="noborder" wmode="transparent" bgcolor="#000000" width="' . $width . '" height="' . $height . '" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object>';
				

Replace with: 

				if (($tag === 'flash') || ($tag === 'swf'))
				{
					$html = '<iframe src="' . $content . '" width="800" height="600" marginwidth="0" marginheight="0" frameborder="0" scrolling="yes"></iframe>';

[/code]

A couple of links that will help.

CUSTOMIZATION - Adding Video BBCode And Buttons To The Editor.

http://www.icyphoenix.com/viewtopic.php?p=44061#p44061


Though this one advocates NO IFRAMES - It appears it's directed at adding script in iframes to the text area, rather than just linking.  :?: 

BBCODE - CUSTOMIZATION - DANGEROUS - How To Allow IFRAME And Full HTML Parsing

http://www.icyphoenix.com/viewtopic.php?p=17045#p17045


Demo Pic.


