Embed video in multiple lines of text field in SharePoint List
This post is a contribution from Jing Wang, an engineer with the SharePoint Developer Support team
SharePoint site user created a custom list and added a multiple line of text field called “note”, which is used to embed a video.
The video is stored in Azure.
Add new item to the list, insert the content with “<>Edit Source” button on Ribbon:
Click on Ok, got warning:
<iframe width="500" height="280" align="center" src="https://aka.ms/ampembed?url=https://sccpssvideo.streaming.mediaservices.windows.net/ab838cb0-befe-40bd-b873-f9793e86255d/Capital%20Improvements%20Committee%20M.ism/manifest&autoplay=false" frameborder="no"></iframe>
Before you copy and paste above html source to the note field, go to Site Settings and make modification to the below setting first:
Under "Site Collection Administration"
- Go to Html Field Security:
- Select “Permit contributors to insert iframes from the following list of external domains into pages on this site” and Add “aka.ms” for Allow iframes from this domain:
Save the list item, browse to the list, and you should be able to see the video.