As we described before there are several different ways you can play or video media file from a SharePoint 2010 site. There are prons and cons on each of the implementation. You could refer the blog for details.
When we utilize the our of box Content Query Web Part to display audio or video files on SharePoint 2010, we found one issue that is impacting the usability. The issue is when you have a Content Query Web Part on a page, it overlay and block any other system pages or configuration options. As a result, users could not configure the web part or could not perform other activities such as create list since those options are overlapped blocked by the black box of the Content Query Web Part. Here are some examples of the issue.
1. If you try to configure the Content Query Web Part, the menu is blocked by the web part and it's very difficult to identify the Configure Web part menu option. See the screen shot.
2. If you want to create other lists or pages from "Site Actions" -> "More Options", the whole Create page might be blocked by the Content Query Web Part.
Of cause, we could use different ways to play or video media file from a SharePoint 2010 site. However, some users just want to get this working to display YouTube videos as I setup even back in SharePoint 2007 version. At this time, I'm not able to resolve this issue.
Does anyone have similar issue and have any solution or workaround?
Showing posts with label SharePoint 2010 Media. Show all posts
Showing posts with label SharePoint 2010 Media. Show all posts
Wednesday, May 11, 2011
Play video and media files in SharePoint 2010 sites part I – Option comparison
There are several different ways you can play or video media file from a SharePoint 2010 site. In summary, we have explored three different ways on SharePoint 2010. Here is the list of three different ways we have explored on SharePoint 2010.
1. Use out of box web part to play audio or video media file
There are three different ways you could use out of box web part to play media file.You could check this excellent blog how to setup each of them in details.
The first and easiest way is to use the Media Web Part to play media file. The pros is it's easy to setup and you could follow up this excellent blog on the procedure. However, the cons is if you use embed code or sharing links for pages that host video, they will not work. For example, you could not play youtube video using youtube URL like http://www.youtube.com/v/09-M-S7Og0o&hl=en_US&fs=1& in the configuration. This approach only display the static media file and could not display dynamic file. There are limited formats this web part will support
The second option to use Content Editor Web Part to play media file. The pros for this is you could display one file or multiple files dynamically from the filter. The cons is that you need to know little xml file format. Here is example to setup to play youtube.
<embed src=" http://www.youtube.com/v/7ByiLIosTPA&hl=en_US&fs=1&"
autoplay="false"
loop="false"
width="600"
height="400"
</embed>
</div>
You could also add JQuery to display list of the files for this web part. Please see other blogs for details.
The third option to use embed code from a third-party video-sharing website to add a video to a page, you can do so by adding the embed code to the Content Editor Web Part. The pros of this approach is very flexible and the cons is you need Designer permissions to do this and may be very tedious for non programmers. The code is similar like this.
<object width="480" height="385">
<param name="movie" value="http://www.youtube.com/v/EODwh5hS7ZY&hl=en_GB&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/EODwh5hS7ZY&hl=en_GB&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed>
</object>
2. Use SharePoint 2010 to play audio or video media files on Media server
Microsoft provides Streaming Media Services that enables you to manage delivery of live or on-demand digital media content, including Windows Media Audio (WMA) and Windows Media Video (WMV), over networks by using administrative interfaces in Microsoft Windows Media Services 2008. If you need to check the details on the installation, you could check the SharePoint Gorge blog.
The pros of this approach is you have the separate Media Server to handle all the different format of the media and the size of the file. As a result, it could support all different media formats and large files. The cons is the installation is complicated especially on the Video Transcoding installation and configuration. In our case, we have setup the architecture to allow SharePoint users to download files to SharePoint and we handle the media file transcode and decode from the back end. Here is the summary of the architecture for your reference.
Here are the procedure we handle the media files so end users will not even know media files are steaming from media server.
3. Use third-party media player to play
After we explore the out of box web parts and Microsoft Media Server, we found neither of them could satisfy our end users requirement that is users should be able to setup the page and play different media formats themselves without IT involvement. Out of box web parts could not support all media formats or need some coding skills. Microsoft Media Server needs IT involvement to setup the back end and configure the connections to Mediaa server. If you want to have a simple way to allow end users to utilize SharePoint 2010 to play media and video, the following third party Media Player Rotator Web Part probably is one of the best options for you now.
We looked at this Media Player Rotator Web Part. End users could either selects a random media file, a specific media file or a media playlist from the specified Sharepoint Picture or Document Library. The Microsoft Media Player plug-in is used to play back the media files.
Supported file formats are MP3, SWF (Flash), FLV/F4V (Flash Video), PDF, AVI, WMV, MP4, MPG, MPEG, YouTube, ASX, RTMP (Streaming Media), MOV and M4V (QuickTime). You could display
a single static movie or list of files. You could display YouTube videos or any files from Sharepoint List or Library.
There are two drawbacks on this web parts. It does not support Target Audience as out of Media Web part does. It does not support streaming and as a result, web part requires media players (FLV, Windows media and Quick time) should be installed on client or server systems, otherwise it won’t play any video file.
With more demanding on the Media and video file support from SharePoint users, I'm hoping Microsoft could come up much easier way to support all different formats in the near future. May be SharePoint 2015?
- Use out of box web part to play audio or video media file
- Use SharePoint 2010 to play audio or video media files on Media server
- Use third-party media player to play audio or video media file
1. Use out of box web part to play audio or video media file
There are three different ways you could use out of box web part to play media file.You could check this excellent blog how to setup each of them in details.
- You can add a Media Web Part to the page to play an individual audio or video file.
- You can configure dynamic displays of video or audio by configuring the Content Query Web Part to display audio or video files.
- Or you can embed a video from a third-party video sharing site by using embed code.
The first and easiest way is to use the Media Web Part to play media file. The pros is it's easy to setup and you could follow up this excellent blog on the procedure. However, the cons is if you use embed code or sharing links for pages that host video, they will not work. For example, you could not play youtube video using youtube URL like http://www.youtube.com/v/09-M-S7Og0o&hl=en_US&fs=1& in the configuration. This approach only display the static media file and could not display dynamic file. There are limited formats this web part will support
The second option to use Content Editor Web Part to play media file. The pros for this is you could display one file or multiple files dynamically from the filter. The cons is that you need to know little xml file format. Here is example to setup to play youtube.
- Use Content Editor Web partEdit page and add web part
- Select “Content Editor Web Part” under “Media and Content” and add to the page
- Click the empty space of the web part and it will display the ribbons
- Under Editing Tools, click HTML and then Edit HTML Source and type in the following code
<embed src=" http://www.youtube.com/v/7ByiLIosTPA&hl=en_US&fs=1&"
autoplay="false"
loop="false"
width="600"
height="400"
</embed>
</div>
You could also add JQuery to display list of the files for this web part. Please see other blogs for details.
The third option to use embed code from a third-party video-sharing website to add a video to a page, you can do so by adding the embed code to the Content Editor Web Part. The pros of this approach is very flexible and the cons is you need Designer permissions to do this and may be very tedious for non programmers. The code is similar like this.
<object width="480" height="385">
<param name="movie" value="http://www.youtube.com/v/EODwh5hS7ZY&hl=en_GB&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/EODwh5hS7ZY&hl=en_GB&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed>
</object>
2. Use SharePoint 2010 to play audio or video media files on Media server
Microsoft provides Streaming Media Services that enables you to manage delivery of live or on-demand digital media content, including Windows Media Audio (WMA) and Windows Media Video (WMV), over networks by using administrative interfaces in Microsoft Windows Media Services 2008. If you need to check the details on the installation, you could check the SharePoint Gorge blog.
The pros of this approach is you have the separate Media Server to handle all the different format of the media and the size of the file. As a result, it could support all different media formats and large files. The cons is the installation is complicated especially on the Video Transcoding installation and configuration. In our case, we have setup the architecture to allow SharePoint users to download files to SharePoint and we handle the media file transcode and decode from the back end. Here is the summary of the architecture for your reference.
Here are the procedure we handle the media files so end users will not even know media files are steaming from media server.
- A user uploads a video to the Video Library
- The event receiver copies the video and a configuration file to a share on the WMS server
- Windows service on the WMS server sees the new configuration file, reads the configuration information and uses that to transcode the video if necessary (WMV files do not need to be transcoded)
- After transcoding the video, the Windows service will place the final video into the folder mapped to the WMS Publishing Point (making it available for on-demand streaming)
- Install Cook codec
- Install FLV Splitter
- Install RRM Splitter
- Install Real Alternative
- Install MpegDecoder012
3. Use third-party media player to play
After we explore the out of box web parts and Microsoft Media Server, we found neither of them could satisfy our end users requirement that is users should be able to setup the page and play different media formats themselves without IT involvement. Out of box web parts could not support all media formats or need some coding skills. Microsoft Media Server needs IT involvement to setup the back end and configure the connections to Mediaa server. If you want to have a simple way to allow end users to utilize SharePoint 2010 to play media and video, the following third party Media Player Rotator Web Part probably is one of the best options for you now.
We looked at this Media Player Rotator Web Part. End users could either selects a random media file, a specific media file or a media playlist from the specified Sharepoint Picture or Document Library. The Microsoft Media Player plug-in is used to play back the media files.
Supported file formats are MP3, SWF (Flash), FLV/F4V (Flash Video), PDF, AVI, WMV, MP4, MPG, MPEG, YouTube, ASX, RTMP (Streaming Media), MOV and M4V (QuickTime). You could display
a single static movie or list of files. You could display YouTube videos or any files from Sharepoint List or Library.
There are two drawbacks on this web parts. It does not support Target Audience as out of Media Web part does. It does not support streaming and as a result, web part requires media players (FLV, Windows media and Quick time) should be installed on client or server systems, otherwise it won’t play any video file.
With more demanding on the Media and video file support from SharePoint users, I'm hoping Microsoft could come up much easier way to support all different formats in the near future. May be SharePoint 2015?
Subscribe to:
Posts (Atom)


