Skip to content

egeny/fabuloos-js

Repository files navigation

fabuloos

Fabuloos is a unique, intuitive and powerful framework for media playback.

This README file will guide you through…

How to use

There is only 4 little steps to your success:

  1. Download the last stable version of fabuloos and add it to your project:
<script src="/js/fabuloos.min.js"></script>
  1. Add an HTML5 <video> or <audio> element:
<video id="player" src="/videos/awesome.mp4"></video>
  1. Make your player fabuloos:
<script>
  var player = fab("player");
</script>
  1. Enjoy the API!

You can also build a custom version of fabuloos to include or exlude components.

How to contribute

If you love fabuloos, first of all: thank you. Then, help us making it even better.

One of the most important thing you can do is to spread the word, talk about it (even if you have to criticize), use it (push it to the limits!) and if you find something missing or broken, request a feature or report a bug.

If you are confident with writing code, you can also write (awesome) plugins and renderers. Feel free to join us as a contributor by forking and asking for pull requests.

How to build

In order to compile a custom version of fabuloos you have to install node.js and NPM.

  • If you are on OSX, we recommend installing with Homebrew (brew install node and have a coffee).
  • If you are on Linux, you probably can use your beloved package manager.
  • If you are on Windows, I'm sorry for you. OK, have a look here.

Then, you have two options:

  1. Launch build.command (double-clicking might work depending on your platform).
    The script will install the dependencies and, hopefully, build fabuloos.
  2. Open a terminal console, browse to the folder and launch:
    • npm install gulp -g to install gulp globally,
    • npm install to install the dependencies,
    • Finally, gulp to build fabuloos.

You should see a build folder with an uncompressed version and a minified one.

You can select which files to include during the build by editing the gulpfile.js.

The FabuloosFlashRenderer need its SWF file in order to have a Flash fallback. Have a look to the dedicated repository to build it. A pre-compiled version is coming for your convenience.

How to test

The testing procedure is ongoing.

How to get support

For now, the only way to get support is through this repository issues.