VideoJS for Rails 3.1 Asset Pipeline
Add to your Gemfile
And run bundle to install the library.
Add the resources to your application.js file
You can optionally include skins by requiring in app/assets/stylesheets/application.css
/* *= require_self *= require videojs *= require skins/hu.css */
currently not working
<%= videojs_rails source: "http://domain.com/path/to/video.mp4", width:"400px" %>