Implement a standard Video Player in Windows Phone - c#

I am writing a Windows Phone application with ability to play video. I have found a lot of custom video players, but I want to find out, is there a standard video player in Windows Phone and what I need to do for using it?

http://msdn.microsoft.com/en-us/library/ff769551(v=VS.92).aspx
The MediaElement is the standard control for playing video files in WP7 apps.

You can use default media player with the help of MediaElement and MediaPlayerLauncher.
You can play local videos and urls with video.
I hope this link will help you
*http://www.developer.nokia.com/Community/Wiki/Video_Playback_with_MediaElement*

Related

How to play a list of (online) video segments as a whole video for Windows phone 8.1

I need to play a list of videos using a player framework. When I play the first video, I need the second video to start loading in a different thread while the first is still playing, this way when the first video ends, the second video can start playing immediatly.
You can play media files on a Windows Phone using the MediaPlayerLauncher , or for a more customized experience, you can use the MediaElement class.
For more Reference Windows Phone Streaming Media Project would be Useful to You and this too How to play or stream a video file for Windows Phone 8.

playing .flv videos in windows store apps

I am developing a windows store app and I want to play .flv video from url.I used media element control but it is not giving any output.I also tried to load webpage which contain .flv videos in webview but it is not showing the video.I am new to windows store app development.If anyone can suggest something it will be of great help.
Thanks in advance.
the url of video is:http://video.co-learn.in/m1/flvplayer/flvplayer_test1.php?3tcode=3TAE1651&fname=3TAE1651_1L1A.flv&height=400&width=400
I think its not possible to play FLV video formats. You need to create your own decoder for it. Have a look at this official Microsoft answer: http://social.msdn.microsoft.com/Forums/windowsapps/en-US/0b1d2d0d-f7ba-4a9e-80bb-d67059453c33/play-mpegflv-files-im-media-element
UPDATE
This thread might be useful to you in getting a hint about how to add codec packs in Metro Style app: http://answers.flyppdevportal.com/categories/metro/csharpvb.aspx?ID=054eca2f-4583-483b-8d46-ce7d6214e4f2
FLV is not one of the Supported audio and video formats (Windows Store apps) (Windows)‎ .
Your best chance would be to update the URL to provide a supported format.

C# video player that supports streaming?

I want to add a video player in my Windows Form that would be able to stream videos (flv) from internet (web-server). So far i've tried Microsoft Windows Media Player and it's working but I don't like it because of its lags and bugs and etc.
So are there any other video players that can be easily embedded in a Windows Form and that support video streaming? (by streaming I don't mean something like live TV streaming, but just downloading (buffering) and playing at the same time the video)
Perhaps you can embed VLC as an ActiveX component?
There is a Flash ActiveX control which (I expect) would handle these natively.

Media Players used in C#

I want to use a media player in C# that reads these extensions : wmv,api,flv,mp3,mp4 and swf..
I tried Silverlight media player but its working with wmv and mp3 only.. and the same with the mediaElement in silverlight.. And FlowPLayer will only play flv, mp4 and mp3.
Has anyone any suggestion ?
Thanks alot !!
Why don't you use VLC media Player ActiveX ,here is a Project that helps you to integrate http://vlcdotnet.codeplex.com/
since LongTail (aka JWplayer) can play flv files i converted all my files to flv and played them with LongTail

play 3gp videos on windows mobile 5 and 6 from code?

currently im able to play .wmv videos from my application using shell execute which plays it in the windowsmedia player. However I need to be able to play .3gp videos which unfortunately the windows meadia player does not support. Is it possible via api etc to play 3gp videos on win mobile 5 and 6 devices?
You can check out CorePlayer, though you need to purchase a license. I am not familiar with a free solution to play this media unless the device's OEM provides it.

Categories

Resources