Skip to content
This repository

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...

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

MediaelementRails

This neat project brings the cool MediaElement.js (HTML5/Flash/Silverlight video player) to the Rails asset pipeline. NOTE: This gem requires jquery, which shouldn't be an issue.

All you have to do is:

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

# ...
gem "mediaelement_rails"
# ...

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
 * and optionally:
 *= require mediaelement_rails/mejs-skins
 */

Wanna use MediaElement (not the player) only?

This is easy as hell too! Don't include any CSS and include the following 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.