- Select the ‘Edit’ icon in the top right corner of the page to edit the page
- Select ‘Page’ in the ribbon, click ‘Embed Code’
- Enter some script, styles, embed code,… in the editor box
Javascript example
Youtube example
Notice the preview of the embedded video - Click ‘Insert’
- Save the page with ‘Save & Close’ in the top right corner.
- After clicking ‘Insert’, a Script Editor WebPart will be automatically inserted into the page - only if you’re using embedded code.
- Default Chrome type is ‘None’
- The Script Editor WebPart is also available as webpart under ‘Media and Content’
- You can still use the Content Editor Webpart to achieve the same results. The main difference between the two is that the Content Editor WebPart is more focused to enter rich text content, while the new Script Editor WebPart is more focused to insert HTML snippets and scripts.
3 comments:
I wanted to embed YouTube videos but as was not getting any resource I left the plan. Now with the help of your tutorial I am again thinking for it and hope this time YouTube videos to get embedded.
i think its grate news for SharePoint Developers for their minds and going to making innovative things.
this is that i want great news. i think SharePoint 2013 will be better than todays version.
Post a Comment