Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
"Unable to save This post contains an iframe which are disallowed"
Avatar
Valberg Ofjordh
Member
Free Members
sp_UserOfflineSmall Offline
Oct 24, 2012 - 11:43 am

I got this error message "Unable to save This post contains an iframe which are disallowed" when i tried to embed a youtube video into a post, the funny part is, that "insert/edit Embedded Media" feature creates the iframes, so one must assume that it should work in the post, but no, Simple forum doesn´t allow it. Is this due to some settings i have to enable or is this a bug?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 24, 2012 - 12:19 pm

The problem is mainly just with YouTube who switched to using iFrames a year or so ago. The problem with iFrames in the forum - where you allow others to post content - is that it is an excellent way to highjack your site and deliver rogue code etc. Which is why we disallow it.

There are two other options for YouTube videos. The first is the older method of embedding which it still supports. But the easiest way is to simply paste in the YouTube URL as SP supports the WP oEmbed method which will create an iFrame safely in the background.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625