Skip to content

Archdiocese-of-New-Orleans/jwplayer-rails

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jwplayer::Rails

JW Player for Rails. Current version of JW Player is 6.12.4956

Installation

Add this line to your application's Gemfile:

gem 'jwplayer-rails', git: "git://github.com/heijmerikx/jwplayer-rails.git"

Usage

First include assets on the page

<%= jwplayer_assets %>

Than place a div with JW Player

<%= jwplayer %>

You can pass options to jwplayer helper to customize it:

<%= jwplayer({width: 500, height: 200}) %>

More information for customization could be found here

Have fun!

About

Rails asset pipeline integration for JWPlayer.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%