 |
 |
 |
 |
#316410 - 11/30/07 12:25 AM
Re: [7.x] Gizmo's Embedding BBCode
[Re: Billy Mead]
|
Lurker
Registered: 10/22/07
Posts: 4
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#316417 - 12/02/07 08:42 PM
Re: [7.x] Gizmo's Embedding BBCode
[Re: Gizmo]
|
Lurker
Registered: 10/22/07
Posts: 4
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#316868 - 04/12/08 06:52 PM
Re: [7.x] Gizmo's Embedding BBCode (Pre UBB.T7.3)
[Re: Morley]
|
Wizard
Registered: 01/10/00
Posts: 5134
Loc: Portland, OR, USA
|
Yeh, simply take the current: array( "#\[flash\]([0-9]+), ([0-9]+), ([a-zA-Z0-9-_.&:/]+)\[/flash\]#i", '<center><object width="\2" height="\1"><param name="movie" value="\3"></param><embed src="\3" type="application/x-shockwave-flash" width="\2" height="\1"></embed></object></center>' ),
array( "#\[flash\]([a-zA-Z0-9-_.&:/]+)\[/flash\]#i", '<center><object width="425" height="350"><param name="movie" value="\1"></param><embed src="\1" type="application/x-shockwave-flash" width="425" height="350"></embed></object></center>' ), And change it to be: array( "#\[flash\]([0-9]+), ([0-9]+), ([a-zA-Z0-9-_.&:/]+)\[/flash\]#i", '<center><object width="\2" height="\1"><param name="movie" value="\3"></param><param name="autostart" value="false"></param><embed src="\3" type="application/x-shockwave-flash" width="\2" height="\1"></embed></object></center>' ),
array( "#\[flash\]([a-zA-Z0-9-_.&:/]+)\[/flash\]#i", '<center><object width="425" height="350"><param name="movie" value="\1"></param><param name="autostart" value="false"></param><embed src="\1" type="application/x-shockwave-flash" width="425" height="350"></embed></object></center>' ), The param addition should do the job for you  .
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|