Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: DMR123 - lokakuu 28, 2012, 10:25:41 AP

Otsikko: Embed Iframe into forum
Kirjoitti: DMR123 - lokakuu 28, 2012, 10:25:41 AP
Hi,
I am trying to embed iframe into the forum, but it doesnt work..

this is the code:

<iframe src="----URL---" width="600" height="400" frameborder="0" scrolling="no"></iframe>


The forum posts it as text and doesnt display the gallery I am trying to embed.

Does anyone know how I can do this?
Otsikko: Re: Embed Iframe into forum
Kirjoitti: Shambles - lokakuu 28, 2012, 10:43:42 AP
Are you an Admin, and have you tried enveloping it in [html]..[/html] tags within the post?
Otsikko: Re: Embed Iframe into forum
Kirjoitti: DMR123 - lokakuu 28, 2012, 02:24:41 IP
Lainaus käyttäjältä: ShamPire - lokakuu 28, 2012, 10:43:42 AP
Are you an Admin, and have you tried enveloping it in [html]..[/html] tags within the post?

I forgot about the  tags

thanks.. that worked
Otsikko: Re: Embed Iframe into forum
Kirjoitti: Hajargbeh1 - elokuu 25, 2019, 09:41:57 AP
Please someone should help me through, i want to add iframe code to my smf  forum post ,but it doesnt work. pls help
Otsikko: Re: Embed Iframe into forum
Kirjoitti: GigaWatt - elokuu 25, 2019, 04:13:13 IP
You probably have html in posts disabled. Enable it, that should resolve the problem.

Also, allowing html in posts is generally a bad idea. It poses a potential security risk.
Otsikko: Re: Embed Iframe into forum
Kirjoitti: Shambles - elokuu 25, 2019, 04:24:49 IP
And to quote a famous personality... this topic is nearly 7 years old and is already marked as solved.