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
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
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
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.
The gem is available as open source under the terms of the MIT License.