tags:

views:

84

answers:

3

I need to add video player for my video files. Can any one help me to add? Is there any free players on web?

A: 

The most common one

http://www.longtailvideo.com/players/jw-flv-player/

JeremySpouken
This is a Flash solution. While many video sites use Flash for this functionality, this may not be the best thing in the future... HTML5 sounds better, or the JQuery way
Maxim Zaslavsky
+3  A: 

Easiest way ever. With HTML5, you can simply use the video tag.

<!DOCTYPE HTML>
<html>
<body>

<video src="movie.ogg" controls="true">
your browser does not support the video tag
</video>

</body>
</html>

If not on HTML5, I'd suggest using the jQuery media plugin

Marcos Placona
your syntax for controls attribute is wrong. it is controls="true"
coder
No i tried this code is not supported for my browser. Pls can u tell me some other method?
jQuery media plugin as mentioned above is really good
Marcos Placona
Love the jQuery method, suited my needs perfectly. Send the correct markup and leave it up to the client!
januszstabik
A: 

Two ways of doing

  1. HTML5

    <video src="movie.ogg" controls="true"></video>

many browser like firefox, chrome already supporting this.

  1. use flash player and embed the video

  2. simply use embed tag to embed an object. There is a issue here. browser needs to support this.

coder