Click here to Skip to main content
15,896,727 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I'm trying to play the video of any file format. I worked on MediaPlayer but it is accepting only .wmv extensions, I wanna play any type of video and also the link which i gives directly(youtube.com/xxxx) to play a video in a web page.



Plz any help...
Posted

Unfortunately not all browsers support all type of video formats so you won't get perfect solution.

Better thing is you should convert the video format which's suitable for your targeted browsers & use it. Or try browser plugins like VLC plugin[^] but I never tried that.

FYI
----------------------
HTML Multimedia[^]
HTML Video[^]
HTML YouTube Videos[^]

Embedding VLC plugin on HTML page[^]
embed vlc player in HTML[^]

You could find more in web.
 
Share this answer
 
Comments
Usha Sanjee 3-Sep-14 0:37am    
yeah i agree with conversion of video which supports to my browser but one issue im facing here it is I cant able to play a video with direct link. I need to save it in solution. Is it possible to play a video with dirct link i give

mediaelement.source="http://channel9.msdn.com/coding4fun/articles/MissionControl-A-Flexible-API-for-Remote-Device-Control";


like this.

Any suggestions plz
Its better to use rad media player for this purpose, follow below link

http://www.telerik.com/help/aspnet-ajax/mediaplayer-overview.html[^]
 
Share this answer
 
Comments
Kornfeld Eliyahu Peter 2-Sep-14 6:02am    
Just to complete your solution - Telerik's control collection is a payed product...
ClimerChinna 2-Sep-14 6:20am    
yeah i know... but it was of very useful
Kornfeld Eliyahu Peter 2-Sep-14 6:25am    
Agreed! I use Telerik daily...
ClimerChinna 2-Sep-14 6:27am    
me tooo...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900