Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thinkhr-code/ember-jplayer
jPlayer wrapper for Ember
https://github.com/thinkhr-code/ember-jplayer
addon emberjs mammothhr
Last synced: about 2 months ago
JSON representation
jPlayer wrapper for Ember
- Host: GitHub
- URL: https://github.com/thinkhr-code/ember-jplayer
- Owner: thinkhr-code
- License: mit
- Created: 2017-05-02T16:31:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T18:29:47.000Z (about 2 years ago)
- Last Synced: 2024-04-29T23:48:00.330Z (9 months ago)
- Topics: addon, emberjs, mammothhr
- Language: JavaScript
- Size: 3.28 MB
- Stars: 0
- Watchers: 9
- Forks: 1
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.com/MammothHR/ember-jplayer.svg?token=xGaPGowvPdvqS2QgbViy&branch=master)](https://travis-ci.com/MammothHR/ember-jplayer)
# ember-jplayer
An Ember component for [jPlayer](https://github.com/jplayer/jPlayer).
## Installation
* `ember install ember-jplayer`
## Component
```
= jplayer-component url='http://my.audio/file.mp3'
```### Customizing the template
To change the jplayer skin, simply add a template at `app/templates/components/jplayer-component`. See the [jPlayer documentation](http://jplayer.org/latest/developer-guide/) for details.
See the [example SASS]() file for an example of setting up CSS for this.
## Running
* `ember serve`
* Visit your app at [http://localhost:4200](http://localhost:4200).## Dependencies
- This makes use of [Ember Tooltips](https://github.com/sir-dunxalot/ember-tooltips)
- To disable, add this in `app/components/jplayer-component.js`:```
import Jplayer from 'ember-jplayer/components/jplayer-component';export defualt Jplayer.extend({
enableTooltips: false
});
```## 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/](https://ember-cli.com/).