Iframe in post
#1
Wink 
This user has been denied support. This user has been denied support.
Hello Mybb I want to share with all of you a new code!

Title
Iframe


Short Description
With this code you can use iframe in posts


Regular Expression
\[iframe width="(.*?)" height="(.*?)" transform="(.*?)" transform-origin="(.*?)" width-container="(.*?)" height-container="(.*?)"\](.*?)\[/iframe\]


Replacement
<div style="width: $5; height: $6;"><iframe src="$7" scrolling="no" frameborder="0" style="width: $1; height: $2; -webkit-transform: scale($3); -o-transform: scale($3); -moz-transform: scale($3); transform: scale($3); -webkit-transform-origin: $4; -o-transform-origin: $4; -moz-transform-origin: $4; transform-origin: $4;"></iframe></div>

Demo:Here


Made by Harald R.
Reply
#2
why on earth would somebody want to allow people to post random iframes on their forum?
Reply
#3
I think it'd allow HTML and it may allow some people to post innapropriate things
Reply
#4
Actually pretty nice! Could it be used for embedding such as webpages into a forum post?
Reply
#5
This user has been denied support. This user has been denied support.
@CViper yes you can!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)