An open API service indexing awesome lists of open source software.

https://github.com/fetch/jquery-jwplayer

jQuery wrapper for JWPlayer
https://github.com/fetch/jquery-jwplayer

Last synced: 6 months ago
JSON representation

jQuery wrapper for JWPlayer

Awesome Lists containing this project

README

          

## JWPlayer jQuery wrapper

##### Build for better event handling

```javascript
$("#video-area").jwplayer({
flashplayer: "/jwplayer/player.swf",
file: 'some/video/file.mp4',
autoplay: true,
width: 630,
height: 480
});

$("#video-area").on('jwplayer:complete', function(event, data){
// Remove complete event and replay video
$(this).off(event).jwplayer('play');
});

```

### Credits

- Built by [Fetch!](http://www.fetch.nl/).
- Concept and development by [Koen Punt](http://koen.pt/)