Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An easy as hell mediaelementjs rails integration for asset pipeline enabled apps...
JavaScript HTML Ruby
tree: 0dac1bbc97

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app/assets
lib
script
test
.gitignore
Gemfile
MIT-LICENSE
README.md
Rakefile
mediaelement_rails.gemspec

README.md

MediaelementRails

This neat project brings the cool MediaElement.js html5/flash/silverlight video-player to the rails world. It requires rails 3.1 engines (tested with 3.1 rc5) and makes integration pretty easy.

All you have to do is:

Add the gem to the list of required gems in your Gemfile

Javascript

Load the Mediaelement Javascript in your application.js:

//= require 'mediaelement_rails'

And CSS

Load the Mediaelement css in your application.css:

//= require 'mediaelement_rails'

Wanna use MediaElement (not the player) only?

This is easy as hell too! Don't include any css and include the following Javascript in your application.js to get it working:

//= require 'mediaelement_rails/rails'

Anything else I should know?

Nothing special! This project includes all assets you might need.

This project rocks and uses MIT-LICENSE.

Something went wrong with that request. Please try again.