Click here to Skip to main content
15,886,689 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I know how to use mplayer in C# form application according to this link.
i wanna know how to use mplayer in asp.net web pages.
i want a player on web page that I can tell it to play a part of a larger video for example from 0:1:10 to 0:3:20 .
thank you in advance.
any help is appreciated.

What I have tried:

i learned how to use mplayer in C# form application and i searched to know how to use it in asp.net web pages but i did not find any way.
Posted
Updated 19-Feb-16 5:41am
v2
Comments
ZurdoDev 19-Feb-16 9:06am    
There's a million different mplayers. I suggest you update your question and post which one specifically and also refer to its documentation.
4L4K1 19-Feb-16 11:43am    
my question is improved. i hope i could tell my meaning.

1 solution

If you're referring to the Windows Media Player, that's an ActiveX control. If you use that in a web page, it will only work in Internet Explorer on Windows, and only if the user allows it to run.

If you want to show video in your web page, use the <video> element[^].

If you want to play sounds, use the <audio> element[^].

Both of these have decent browser support, and will work on multiple operating systems. The only problem will be converting your media files to the different formats required to support different browsers.
Media formats supported by the HTML audio and video elements - HTML | MDN[^]
 
Share this answer
 

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