Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pdf/projekktor-rails
projekktor-rails provides the video player projekktor via Rails asset pipeline.
https://github.com/pdf/projekktor-rails
Last synced: about 2 months ago
JSON representation
projekktor-rails provides the video player projekktor via Rails asset pipeline.
- Host: GitHub
- URL: https://github.com/pdf/projekktor-rails
- Owner: pdf
- License: mit
- Created: 2013-03-31T02:55:01.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-03-31T02:55:20.000Z (almost 12 years ago)
- Last Synced: 2023-03-10T20:52:58.643Z (almost 2 years ago)
- Language: Ruby
- Size: 833 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# Projekktor::Rails
projekktor-rails provides the video player projekktor via Rails asset pipeline.
## Installation
Add this line to your application's Gemfile:
gem 'projekktor-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install projekktor-rails
## Usage
Add this to your application.js
//= require projekktor
$(function() {
projekktor('video', {
playerFlashMP4: "/assets/jarisplayer.swf",
playerFlashMP3: "/assets/jarisplayer.swf"
});
});Add this to your application.css
*= require projekktor
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull RequestUpdate projekktor to latest version on [http://www.projekktor.com/](www.projekktor.com/):
$ rake update_projekktor