Skip to content

Commit

Permalink
Add the JW Player Adapter to the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
screeley committed Apr 15, 2014
1 parent 7abb29f commit 8243355
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -345,3 +345,20 @@ paused information.
adapter.ready();
});


JWPlayerAdapter
""""""""""""""
An adapter for `JW Player <http://www.jwplayer.com>`_.
::

jwplayer("video").setup({
file: "/lib/videos/demo.mp4",
height: '100%',
width: '100%'
});

var adapter = new playerjs.JWPlayerAdapter(jwplayer());

jwplayer().onReady(function(){
adapter.ready();
});

0 comments on commit 8243355

Please sign in to comment.