GithubHelp home page GithubHelp logo

gs412 / flowplayer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from flowplayer/flowplayer

0.0 2.0 0.0 2.25 MB

The HTML5 video player for the web

License: Other

Ruby 4.07% JavaScript 57.77% Makefile 1.91% Shell 0.13% ActionScript 17.65% CSS 18.46%

flowplayer's Introduction

Flowplayer

Screenshot

website | demos | docs

For the impatient

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

Minimal setup

<!DOCTYPE html>

<head>
   <!-- flowplayer depends on jQuery 1.7.1+ (for now) -->
   <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

   <!-- flowplayer.js -->
   <script type="text/javascript" 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 type="video/mp4" src="my-video2.mp4">
      </video>
   </div>

</body>

API Samples

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

}).bind("pause", function (e, api) {

});

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

});

Compiling Flash

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

Reporting bugs

Please read the contributing guidelines before reporting issues or submitting patches.

Running tests

Our automated test suite is sponsored by BrowserStack. Thanks you!

Running locally

Tests are run on BrowserStack

  • Install dependencies: bundle install
  • Setup broserstack tunnel: java -jar features/support/BrowserStackTunnel.jar -f <your tunnel api key> /path/to/flowplayer/repo
  • Run cucumber features: rake username=<browserstack username> key=<broserstack automate api key> base_url=http://<something>.browserstack.com

License

GPL v3 with an ADDITIONAL TERM per GPL Section 7

Copyright (c) 2012 Flowplayer Ltd

flowplayer's People

Contributors

anssip avatar cstigler avatar frisocki avatar gbicou avatar isrek avatar juhovh avatar navilan avatar nnarhinen avatar philwareham avatar phloxic avatar psrustik avatar tipiirai avatar wesleytodd avatar zoranjambor avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.