Need help with video.js-chromecast?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

benjipott
209 Stars 90 Forks Other 90 Commits 31 Opened issues

Description

Use chromecast with videojs html5 player

Services available

!
?

Need anything else?

Contributors list

# 269,400
CSS
HTML
aws-lam...
pipenv
49 commits
# 8,436
Nim
Rails
Markdow...
mdns
6 commits
# 507,274
JavaScr...
CSS
Shell
6 commits
# 568,233
JavaScr...
CSS
Shell
3 commits
# 501,691
vscode-...
openapi
vscode
JavaScr...
1 commit
# 117,307
CSS
HTML
Shell
test-co...
1 commit
# 1,015
TypeScr...
Babel
Electro...
ESLint
1 commit

DEPRECATION WARNING: Unfortunately it's time for me to deprecate this library as I cannot give it the time it needs. If you're interested in maintaining this lib, send me message ([email protected]). I'd recommend using something like chromeless or puppeteer if possible. Thanks!

Build Status

Donate

Chromecast Plugin for video.js 5.*

Alt text

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

 tag after the video.js 
 tag:
 
 


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

Basic Usage

For full details on how to use chromecast in the API documentation.

var player = videojs('video',{
  chromecast:{
     appId:'APP-ID'
  }
});

Options

Chromecast sdk mediaInfo use poster image

options :{
  chromecast:{
     appId:'APP-ID',
     metadata:{
       title:'Title display on tech wrapper',
       subtitle:'Synopsis display on tech wrapper',
     }
  }
}

License

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.