May 18, 2012

What jquery video player, plays avi, mp4, mkv, wmv files?

Question by crosenblum

I am working on a web-based media center app. As a lightweight alternative to having a running a media center app in linux.

I have a bash script that generates an html file that uses a polaroid display, of all the posters of my downloaded movies.

http://imageshack.us/photo/my-images/651/polaroidscreenshot.png

Once I click on a movie poster, I want to go to a second page, that will play a locally hosted video.

I have tried working with jplayer, but have had problems just using the demo code, that it comes with.

Are there jquery or html5 video player’s that support standard movie video formats? Such as avi, mp4, mkv and wmv?

Or would I have to convert them to a format that is more usable to the player?

I would rather not have to convert them, that is doable but would be time consuming, and may distort video quality.

Any suggestions?

Answer by Starx

Why?, there are already web friendly formats of the video. flv, mp4, webm are very good formats, can support high quality too. You don’t need to focus on creating such things.

You can use, media player widgets on the website, and let the video play if the client has the supported codec to play the video. But, since this will narrows the visitors to a windows platform, I dont recommend it either.

With that being said, there is a plugin called jQuery Media Plugin which provides a limited of what you want.

Author: Nabin Nepal (Starx)

Hello, I am Nabin Nepal and you can call me Starx. This is my blog where write about my life and my involvements. I am a Software Developer, A Cyclist and a Realist. I hope you will find my blog interesting. Follow me on Google+

...

Please fill the form - I will response as fast as I can!