Any external domains that will be Inserted in an Iframe should be added as Approved domains in “HTML Field Security” first.”HTML Field Security” is a new feature that you would find in Site Settings (of a Site collection) under “Site Collection Administration” section.
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.
Please Note : This article is a part of our SharePoint 2013 How To’s Series
Lets look at the Steps-
1. Navigate to Site Settings (top-level Site collection) -> HTML Field Security.
2. Make sure the domain that you need to use in Iframe is added as permitted domain.In our case we will add a Youtube Video in an Iframe So we need to make sure that “Youtube.com” is added in the list.
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.
and click ok.
Result -
0 nhận xét:
Post a Comment
thanks comment