Skip to content
 
 

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VideoJS for Rails 3.1 Asset Pipeline

Installation

Add to your Gemfile

gem 'videojs_rails'

And run bundle to install the library.

bundle

Add the resources to your application.js file

# app/assets/javascripts/application.js
//= require videojs

You can optionally include skins by requiring in app/assets/stylesheets/application.css

/*
*= require_self
*= require videojs
*= require skins/hu.css
*/

currently not working

Usage

<%= videojs_rails source: "http://domain.com/path/to/video.mp4", width:"400px" %>

Resources

http://videojs.com/ http://videojs.com/#getting-started

About

Video JS for Rails 3.1 Asset Pipeline

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors