Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 popcornjs-rails.gemspec
README.md

Rails 3.1 asset-pipeline gem to provide popcorn.js support

Install

gem 'popcornjs-rails'

Use

In your application.js manifest:

Core version:

//= popcorn

Core version (minified)

//= popcorn.min

Full version with all plugins

//= popcorn-complete

Full version with all plugins (minified)

//= popcorn-complete.min

Beta: The Popcorn.js core library, plus IE8 shim, flash player support, and the YouTube player

//= popcorn-ie8

Beta: The Popcorn.js core library, plus IE8 shim, flash player support, and the YouTube player (minified)

//= popcorn-ie8.min

or directly available under /assets/popcorn.js

Something went wrong with that request. Please try again.