Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Rails asset pipeline integration for JWPlayer.
Ruby
branch: master

Merge pull request #2 from hyperrjas/master

Fixed smart error with player name
latest commit 157ff4c60c
@choix authored
Failed to load latest commit information.
app/assets Update jwplayer version
lib update helper with flash.swf instead player.swf
.gitignore Initial
Gemfile Initial
LICENSE.txt Initial
README.md Correct README
Rakefile Initial
jwplayer-rails.gemspec Correct error with rails

README.md

Jwplayer::Rails

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

Installation

Add this line to your application's Gemfile:

gem 'jwplayer-rails'

Or install it yourself as:

$ gem install jwplayer-rails

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!

Something went wrong with that request. Please try again.