Skip to content

dhmgroup/hls-rails

Repository files navigation

HLS-Rails

hls-rails is a ruby on rails wrapper for hls.js

hls.js is a JavaScript library which implements an HTTP Live Streaming client.

Source: https://github.com/video-dev/hls.js

Ruby Gem: https://rubygems.org/gems/hls-rails

Installation

Add this line to your application's Gemfile:

gem 'hls-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install hls-rails

In app/assets/javascripts/application.js add:

//= require hls

Usage

hls.js documentation is available on http://video-dev.github.io/hls.js/docs/html

hls.js demo is available on http://video-dev.github.io/hls.js/demo

Contributing

Bug reports and pull requests are welcome. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.