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
TinyMCE video imbed uses IFrames and SP returns an error stating iFrames are forbiden
Avatar
bryan Salva
Member
Free Members
sp_UserOfflineSmall Offline
Oct 17, 2012 - 4:10 pm

Whenever I try to embed a video vie tinyMCE I get the following error:

Unable to save
This post contains an iframe which are disallowed

This is simply from using the TinyMCE editors own media function. I get the same error when including youtube's iFrame embed ottion via HTML in TinyMCE for obvious reasons. I understand the risks here, but how can I allow my users to submit video?

Does anyone have a solution or work-around? I have directly post a link and it shows the video but using this method I have no control over the size...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 17, 2012 - 8:44 pm

as the error message indicates (and posted here multiple times) you cannot post an iframe in the post... its a huge security risk for any user to do so (nothing to do with media) - thus its stripped out...

besides, you should be using the object method or more preferably the wp oembeds method (paste in the url - that's it)...  you can control the size of the oembeds on wp - settings - media...

Avatar
bryan Salva
Member
Free Members
sp_UserOfflineSmall Offline
Oct 17, 2012 - 9:53 pm

Thanks again for the prompt reply. 

I searched the forums and found some of the other posts you reference but they were all from people trying to use the embed option. I was attempting to use TinyMCE (at the time I thought it made a difference) 

I Googled the oembeds and checked the setting you mentioned. Everything is working. Thanks for the help. 

I'm always nervous purchasing support memberships as they are often a waste of money. I'm definitely impressed and will recommend your software in the future. 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 17, 2012 - 10:58 pm

thanks for the kind words! glad its resolved and you are off and running... let us know if you need anything else...

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