默认情况下MediaWebPart不可使用,需要在Web Part Gallery中添加,这就需要开启发布功能:
1、使用网站集管理员登录,在网站集管理中激活 “ SharePoint Server Publishing Infrastructure Feature”:
选择Site Setting - Site Collection Administration - Site Collection Features,找到SharePoint Server Publishing Infrastructure,点击Activate。
2、在网站管理中激活 “Sharepoint server Publishing Feature”:
选择Site Setting - Site Actions - Manage Site Features,找到Sharepoint server Publishing,点击Activate。
3、在Web Part Gallery中查看是否已经添加MediaWebPart:
选择Site Setting - Galleries - Web Parts,找到Media.webpart,则添加成功。
之后,在编辑页面的时候,Insert Web Parts时就能找到MediaWebPart了。