- Download Freedom Player
- Unzip
- Drop the folder under your server
<!DOCTYPE html>
<head>
<!-- freedomplayer.js -->
<script type="text/javascript" src="freedomplayer.min.js"></script>
<!-- player styling -->
<link rel="stylesheet" type="text/css" href="freedomplayer/skin.css">
</head>
<body>
<!-- player 1 -->
<div class="freedomplayer">
<video src="my-video.mp4"></video>
</div>
<!-- player 2 -->
<div class="freedomplayer">
<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
freedomplayer(1).bind("load", function (e, api, video) {
}).bind("pause", function (e, api) {
});
// work with jQuery
$(".freedomplayer").bind("unload", function (e, api) {
});
Please read the contributing guidelines before reporting issues or submitting patches.
We do automated tests with Continuous Integration on a private server for now. The previous version Flowplayer 7 had automated testing built-in.
Copyright (c) 2022 Foliovision s.r.o.