SharePoint 2013 Using IFrame in Content Editor WebPart

In SharePoint 2013 admins can now Insert an iframe element into an HTML field like Content editor webpat on a page. This will let users Embed dynamic content from other sites, such as videos or map directions on any SharePoint site page. Any external domains that will be Inserted in Iframe should be added as approved domains in "HTML Field Security". By default, certain trusted external domains are already approved for use in iframes.Site collection administrators can customize the field security settings by changing the default trusted external domains.

An example taken from

To add a Youtube Video add the "" Domain in "HTML Field Security" first.
Lets look at the Steps -

1. Navigate to Site Settings (top-level Site collection) -> HTML Field Security.

2. Make sure the domain "" is added as permitted domain.

3. Navigate to your Youtube video and click on Share and then Embed.

Copy the highlighted text.

4. Add a Content editor webpart on a page and then click on "Edit Source" in "Format Text" tab in Ribbon. Add the following in the Source. <iframe width="420" height="315" src="" frameborder="0" allowfullscreen></iframe> and click ok. Result -


Unknown said...
This comment has been removed by the author.
jessica said...

I am expecting more interesting topics from you. And this was nice content and definitely it will be useful for many people.
School website design uk

Post a Comment

Popular Posts