Page 1 of 1

Embeding iframes

PostPosted: Thu Jun 07, 2012 3:49 pm
by Armandolas
Hello
Didnt know where to post this question, so i choosed this section...hope is ok

i would like to embed this kind of code in my post so people in a tournament could see the updated standings:

<iframe
src="http://binarybeast.com/xSC212060713/full"
class="binarybeast"
width="800"
height="600"
scrolling="auto"
frameborder="0">
</iframe>

Can i do it in CC Forums?If Yes...how can i do it?
Aparently we can do it with youtube, wich is similar code
I just dont know how to code or put it working in a post

Thanks in advance

Re: Embeding iframes

PostPosted: Thu Jun 07, 2012 4:31 pm
by sherkaner
No, you can't. If it were possible, it would open up possibilities that could definately be misused. Sorry..

Re: Embeding iframes

PostPosted: Thu Jun 07, 2012 4:48 pm
by Armandolas
sherkaner wrote:No, you can't. If it were possible, it would open up possibilities that could definately be misused. Sorry..


Thanks for the quick answer.
What kind of possibilities?Isnt that a code very similar to the youtube embed?
I think its a very usefull tool for running tournaments and the code itself is pretty harmless, dont u agree?

Im asking these questions just to understand

Take care

Re: Embeding iframes

PostPosted: Thu Jun 07, 2012 4:53 pm
by blakebowling
What you did is completely harmless; what someone like me could do with iframes can break the entire website.

Re: Embeding iframes

PostPosted: Thu Jun 07, 2012 4:59 pm
by Armandolas
Once again, thanks for the answer.
I understand (more or less..lol) how dangerous that could be.
In that case , how do u allow an youtube iframe?
Am i being totally non-sense or it runs exactly the same kind of code?

Re: Embeding iframes

PostPosted: Thu Jun 07, 2012 6:35 pm
by blakebowling
The youtube code isn't exactly BB iFrame. It takes only the youtube video id as an argument and creates the HTML with the video id inserted. Allowing willy-nilly HTML is really dangerous.

Re: Embeding iframes

PostPosted: Thu Jun 07, 2012 6:41 pm
by Armandolas
allright m8...thanks for the explanation
take care

Re: Embeding iframes

PostPosted: Thu Jun 07, 2012 8:21 pm
by DiM
blakebowling wrote:What you did is completely harmless; what someone like me could do with iframes can break the entire website.



blakebowling is 1337 h4XxX0r :mrgreen: