jQuery .Flv Player

Posted by H(at)Ni on Geeks with Blogs See other posts from Geeks with Blogs or by H(at)Ni
Published on Mon, 07 Mar 2011 12:11:07 GMT Indexed on 2011/03/07 16:11 UTC
Read the original article Hit count: 231

Filed under:

I've recently used a cool .Flv player to play video files that are uploaded by site admin and thought it's good to share.

Download from: http://flowplayer.org/

Using this control is very simple, just follow those steps :

1. Create an anchor with href equals to the video url 

<a href="Video.flv" id="MyPlayer" ></a>

 

2. Add path to the player's javascript file

<script type="text/javascript" src="flowplayer-3.2.4.min.js"></script>

3. Simple call to a function named flowplayer with the anchor id, and path of the player's swf file

    <script type="text/javascript">
      $(document).ready(function () {

      flowplayer("MyPlayer", "flowplayer-3.2.5.swf");
      });
    </script>
 

© Geeks with Blogs or respective owner