Monday, May 4, 2009

SharePoint Media Streaming WebPart

Recently I have implemented media streaming web part (YouTube technology) for one of my client, I would like to share this with you guys


This I have developed for one of my client so, I am not going to share code with you guys.

Media streaming web part uses windows media server for playing media files because It is especially useful for streaming large amounts of data over busy, congested networks and low-bandwidth connections. Streaming uses bandwidth more efficiently than downloading because it sends data over the network only at the speed that is necessary for the client to render it correctly. This helps prevent the network from becoming overloaded and helps maintain system reliability.

If you want to know more about windows media server please refer this article http://learn.iis.net/page.aspx/454/windows-media-server-or-web-server/

I have created two features one is for Media template another one is media steaming webpart.

Media Template

This is just list definition for storing media files

Media steaming web part

The job of this is to read file from windows media server and play it on windows media player

Steps
First install media features and activate it
Go to Site Actions -> Site Settings-> under Site Administration -> Site libraries and lists -> Create new content - > select Media Library template ->Give the name of template and click create

Just upload media files in to media library the Mediamanager class will take care of rest

Then go to media home page and add media streaming webpart, it will automatically plays media file using streaming technique
Mail me if anybody wants get more knowledge on this.

0 comments:

Post a Comment