Skip to content

JeffreyWay/video.js-chromecast

 
 

Repository files navigation

Build Status

Chromecast Plugin for video.js 5.*

Installation

Install videojs-chromecast via npm (preferred):

$ npm install videojs-chromecast

Or Bower:

$ bower install videojs-chromecast

Inclusion

Include videojs-chromecast on your website using the tool(s) of your choice.

The simplest method of inclusion is a <script> tag after the video.js <script> tag:

<script src="path/to/video.js/dist/video.js"></script>
<script src="path/to/videojs-chromecast/dist/videojs-chromecast.js"></script>

When installed via npm, videojs-chromecast supports Browserify-based workflows out of the box.

Basic Usage

For full details on how to use the playlist plugin can be found in the API documentation.

var player = videojs('video');

player.chromecast();

License

Apache-2.0. Copyright (c) Benjipott, Inc.

About

Use chromecast with videojs html5 player

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 91.0%
  • CSS 5.4%
  • HTML 2.3%
  • Shell 1.3%