Flowplayer is actively developed as Wowza Flowplayer. This repository is kept for history only; do not use it for new projects.
npm @flowplayer/player—npm install @flowplayer/playerDocs https://developer.wowza.com/docs/wowza-flowplayer/ Website https://www.wowza.com/video/player Demos https://www.wowza.com/developer/flowplayer-demos The legacy
flowplayernpm package (7.2.7, 2018) is this player and is no longer maintained. It is not the same product as@flowplayer/player; there is no in-place upgrade path.
Everything below describes the legacy Flowplayer 7 and is kept unchanged for history.
- Get the legacy build:
npm install flowplayer@7or clone this repository (the old download page no longer exists) - Unzip
- Drop the folder under your server
<!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>
// 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) { });
- Download Open Source Flex SDK, v4.5.1
export mxmlc=<PATH_TO>/flex_sdk_4.5.1.21328_mpl/bin/mxmlc
cd ./flowplayer # this repository
make flash
Please read the contributing guidelines before reporting issues or submitting patches.
Our automated test suite is sponsored by BrowserStack. Thanks you!
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
GPL v3 with an ADDITIONAL TERM per GPL Section 7
Copyright (c) 2012 Flowplayer Ltd