Play video in silverlight?

How to play video using silverlight?

Does Visual Studio work with a component of the video player component? or do I need to make a video player?

+6
video silverlight
source share
2 answers

As often happens, it depends on your requirements.

You can use the multimedia element that comes with Silverlight ( msdn info here ), however this means that you need to build everything from scratch, they do not come with a โ€œchrome playerโ€, as in buttons and visual styles.

If you want to create a pre-configured โ€œplayerโ€, there are at least a few options, the Expression Encoder tool (a free version is available) comes with several Silverlight players that you can freely use and modify if you wish. You will find them in the templates section of the expression encoding tool.

Another option is to use the "Microsoft Media Platform: Player Framework" (formerly known as the Silverlight Media Framework (SMF)), which is an open source project in which Microsoft participates, and comes with a full-featured "player", and is built on industry standards , you can find it at http://smf.codeplex.com .

Good luck

+3
source share

In SL:

<MediaElement x:Name="MyVid" Source="http://abc.xyz.com/MyVid.wmv" Height="250" Width="350" AutoPlay="True"/> 

The server side must support MMS (RTSP protocol - streaming) or progressive downloads (MMS on the MediaElement side takes care of everything). Videos must comply with the SMPTE 421M video codec standard (VC-1).

0
source share

All Articles