Skip to content

ceb10n/ember-cli-clappr

Repository files navigation

npm version Ember Observer Score

ember-cli-clappr

A simple wrapper to Clappr video player. For more information about Clappr, please visit https://github.com/clappr/clappr.

Installation

ember install ember-cli-clappr

Usage

{{clappr-player source="your_video_here.mp4"}}

Availabe Actions

  • onReady
  • onResize
  • onPlay
  • onPause
  • onStop
  • onEnded
  • onSeek
  • onError
  • onTimeUpdate
  • onVolumeUpdate:function
{{clappr-player source="your_video_here.mp4" onPlay=(action 'onPlay')}}

Example

Please, see ember-cli-clappr-example

More about Clappr

Contribute

Installation

  • git clone <repository-url> this repository
  • cd ember-cli-clappr
  • npm install
  • bower install

Running

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.