iframe not working

izhmel
@izhmel
12 years ago
1,354 posts
iframe not working, I have these checked and it don't work

Allow HTML
Convert @ Tags
Make URLs Clickable
Convert Embed Tags


--
The Scientist
dubmusic.com
Thanks for any assistance.

updated by @izhmel: 12/14/13 01:05:06PM
brian
@brian
12 years ago
10,149 posts
First up, don't allow iframe - it's the easiest way to get your site hacked. You should never allow another domain (or site) to "embed" itself in your page.

With that said, it should still work. What do you have for your allowed tags? We've moved to a new HTML filtering system called HTML Purifier, and it could be that iframe will need special modifications to get working since it is such an unsafe HTML tag to allow.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
12 years ago
10,149 posts
iframe is not going to work without some significant changes, so it won't be supported for now. What is going to need to be done is a special "iframe" module is going to need to be created that will specifically enable iframe support for specific domains (i.e. if you want to include a YouTube iframe then you will need to specifically allow the youtube.com domain).

HTMLPurifier (which JR5 uses) only allows "purified" iframes, which means the domain and attributes on the iframe are all validated, so you can't just set "iframe" in your allowed tags and have it work.

I'll add this as a feature suggestion in our Tracker.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
izhmel
@izhmel
12 years ago
1,354 posts
I miss some of the features that was in JR4 and hope to see them back in JR5


Thanks


--
The Scientist
dubmusic.com
Thanks for any assistance.

updated by @izhmel: 11/04/13 09:32:18AM

Tags