Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

WowzaMediaSystems/wowza-player-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wowza Player

Wowza Player, Wowza GoCoder SDK, and the technology powering the Ultra Low Latency (ULL) service in Wowza Streaming Cloud will no longer be available on August 31, 2021. Learn more.

Wowza Media Systems™ offers player software called Wowza™ Player, a lightweight HTML5 player that plays Apple HLS streams in any browser, on any device. This gem provides the Wowza Player in a friendly Rails wrapper.

Prerequisites

A Wowza Player license is required. To obtain a license or learn more, see the Wowza Player webpage.

Installation

To install the Wowza Player Rails wrapper:

  1. Add the following line to your application's Gemfile:

    gem 'wowza_player', git: 'git@github.com:WowzaMediaSystems/wowza-player-rails.git'
  2. Execute the following command:

    $ bundle install

  3. Then use the built-in generator to inject the Wowza Player source script into your application layout:

    $ rails generate wowza_player

Usage

This gem provides two helper methods available to your rails templates.

'wowza_player_script'

The 'wowza_player_script' helper enables you to manually locate the Wowza Player source script. This is not needed if you ran the generator during installation.

  <%= wowza_player_script_tag %>

'wowza_player_tag'

After installing the Wowza Player source script using either the generator or the helper above, the wowza_player_tag helper enables you to embed the Wowza Player in your views

  <% = wowza_player_tag(license: <your-wowza-player-license>, sourceURL: <hls-source-url>) %>

This helper supports all of the Player Builder configuration settings for Wowza Player. To use these configuration options, convert the parameters from JSON notation to Ruby hash syntax and pass that to the wowza_player_tag helper.

More resources

How to get started with Wowza Player

Contact

Wowza Media Systems, LLC

License

This code is distributed under the Wowza Public License.

About

Rails wrapper for Wowza™ Player.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors