isrek / flowplayer

The HTML5 video player for the web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flowplayer

Screenshot

website | demos | docs

For Impatient

  1. Download Flowplayer
  2. Unzip
  3. Drop the folder under your server

Minimal setup

<head>
   <!-- flowplayer.js -->
   <script src="flowplayer.min.js"></script>

   <!-- player styling -->
   <link rel="stylesheet" type="text/css" href="flowplayer/minimalist.css">

</head>

<body>

   <!-- player 1 -->
   <div class="flowplayer">
      <video src="my-video.mp4"></video>
   </div>

   <!-- player 2 -->
   <div class="flowplayer">
      <video>
         <source type="video/webm" src="my-video2.webm"></source>
         <source type="video/mp4" src="my-video2.mp4"></source>
      </video>
   </div>

</body>

API Samples

// listen to events on second player
flowplayer(1).on("load", function() {

}).on("pause", function() {

});

// work with jQuery
$(".flowplayer").bind("unload", function() {

});

Compiling Flash

export mxmlc=<PATH_TO>/flex_sdk_4.5.1.21328_mpl/bin/mxmlc
cd ./flowplayer # this repository
make flash

License

GPL v3 with an ADDITIONAL TERM per GPL Section 7

Copyright (c) 2012 Flowplayer Ltd

About

The HTML5 video player for the web

License:Other


Languages

Language:JavaScript 85.3%Language:ActionScript 14.7%