Video streaming within your SharePoint environment was made possible in SharePoint 2013. The video files can be uploaded to SharePoint itself, linked into SharePoint as explained here, or referenced by embed code as explained in this post. To add support for Videos in your site collection, see this post.
To add a video from YouTube to your SharePoint video library, first navigate to the video on You Tube. Under the video stream, click on Share and then Embed. Copy the embed code:
To add a video from YouTube to your SharePoint video library, first navigate to the video on You Tube. Under the video stream, click on Share and then Embed. Copy the embed code:
In SharePoint, navigate to your Video library (Assets Library) and click on New Document -> Video from the File top ribbon bar:
On the Videos page, select the "Provide code to embed a video from the web option", enter a name for the Video, and paste the embed code into the box provided:
Click OK. You are taken to the Video Properties page. Enter or modify any property settings and then click Save (either at bottom of the page or from the Edit top ribbon).
That's it! The YouTube video appears in your Video library as if it was actually in there:
As one of my readers pointed out (see comments), SharePoint now also supports a simple way of embedding YouTube videos into news feed posts by just pasting a YouTube URL; not the embed code for a video, but its page URL. Thanks David Bukhan!
SharePoint 2013 also supports a simple way of embedding YouTube videos into newsfeed posts by just pasting a YouTube URL. Not the embed code for a video, but its page URL.
ReplyDeleteMy question is whether this feature can be extended to URLs to videos hosted by other sites, not just YoutTube. Which page headers are required? And more imprtantly it seems that even when all the OpenGraph headers are in place SP 2013 still does not embed videos from anywhere but YouTube. Does it filter by specific hostnames? Is there a way to configure SharePoint to accepts videos from other sites?
See details about embedding YouTube videos here http://office.microsoft.com/en-us/sharepoint-server-help/add-features-to-a-newsfeed-post-HA102785751.aspx#_Toc328036827
You need to configure external domains under the HTML Field Security within the Site Collection Administration (Site Settings) to allow embedding of videos from other sites. I'll probably write a post on this.
DeleteHere is the explanation and steps:
Deletehttp://stevemannspath.blogspot.com/2013/03/sharepoint-2013-allow-embedding-of.html
I wasn't aware of this feature. Thanks for posting the how to!
ReplyDeleteI'm also curious about other video sources. I tried a skydrive video and it wasn't quite as good a YouTube video. Here's the video I tried:
https://skydrive.live.com/redir?resid=43496171A70466B4!16454&authkey=!AFrAreHuTY0-Jxk
One difference I noticed is that it doesn't play in the SharePoint site, but instead opens a new window with SkyDrive videos as opposed to YouTube.
Could be the HTML Field Security as I explained in the reply above. I'll check the link out.
DeleteYour link there is to the page that contains the video, not the video itself. That is probably why a new window is opened.
DeleteSince, Microsoft's plan for SharePoint 2013 include a far more rapid update cycle, some of my favorite features could be very different in months to come.
ReplyDeleteOnce SharePoint Online catches up to on-premises, you may find that the updates may only be in SharePoint Online. Hopefully both but a quarterly service pack doesn't seem realistic.
DeleteYou're welcome!
ReplyDelete-=Steve
Is there a service account running the videos or would i need to grant each user access to Youtube?
ReplyDeleteI would think that the access to YouTube is happening client side and therefore using the current user. If you have YouTube blocked then you can easily test this.
DeleteThanks for the useful info, however how I can change the embed code after creating the page ?
ReplyDeleteSorry I missed this comment previously. Not sure what you mean about creating a page. You can edit the Video list item to change the embed code.
DeleteActually you cannot. When editing the page you can edit everything BUT the embed code, or maybe I'm missing something... Steve, can you share a screenshot of your edit page?
DeleteDid you find any answers for changing the embed code?
DeleteI have been super busy and don't really have time to investigate things like this.
DeleteIs it possible to have SP2013 access a private YouTube video? I don't see any real "login as" option for SP to pull the customer's private videos on YouTube.
ReplyDeleteIt is probably possible but not an easy thing to do. You would have to highjack the call out to YouTube and somehow send the current user's Google credentials. It may require claims and ADFS tweaking.
DeleteDoes embedding a YouTube video in SharePoint 2013 cache the video on the server? Or does it stream it from YouTube every time someone clicks on the link? We're trying to work with an environment with limited bandwidth and are hoping this embedding option might help.
ReplyDeleteI think it goes out each time but will cache on the client browser.
DeleteI think it goes out each time but will cache on the client browser.
DeleteIs there a way to change the embed code of a video I added on the Asset Library?
ReplyDeleteI would think you could do this using the API to update the list item. Although technically it is a document set so it may be trickier.
DeleteI would think you could do this using the API to update the list item. Although technically it is a document set so it may be trickier.
DeleteIs there a way of locking down the embedded video in Sharepoint 2013 so it can't be saved/copied? It needs to be more than just 'unlisted' on YouTube, and we don't want viewers to enter a password so the 'private' YouTube setting won't work, either. Thanks
ReplyDeleteThere is a setting to not show the download menu but we have not found a way to prevent downloading videos if the user knows how to do it.
DeleteI added the "Video" content type to my document library. My Document library uses Content Organizer and a drop off library. When I create a new video with embedded link in the document library it is placed in the drop off library as a folder with the sub folders of "Additional Content" and "Preview Images". The video does not route at all, it just creates a folder with the title of the video and the 2 sub folders... why. Any ideas?
ReplyDeletedoes the drop off library have the Video content type too?
Delete