Sha256: ba23df7e5cf8272288b6f371f561c6c840f9912c9244ad4d73f86e2fc9a6acf5
Contents?: true
Size: 650 Bytes
Versions: 1
Compression:
Stored size: 650 Bytes
Contents
# VideoJS for Rails 3.1 Asset Pipeline ## Installation Add to your Gemfile ```ruby gem 'videojs_rails' ``` And run bundle to install the library. ```ruby bundle ``` Add the resources to your application.js file ```coffeescript # app/assets/javascripts/application.js //= require videojs ``` You can optionally include skins by requiring in app/assets/stylesheets/application.css ```sass /* *= require_self *= require videojs *= require skins/hu.css */ ``` ## Usage ```erb <%= videojs_rails source: "http://domain.com/path/to/video.mp4", width:"400px" %> ``` ## Resources http://videojs.com/ http://videojs.com/#getting-started
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
videojs_rails-0.0.1 | readme.md |