Socket
Socket
Sign inDemoInstall

chromecast-controller

Package Overview
Dependencies
73
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    chromecast-controller

Easily cast to Chromecast and control playback


Version published
Maintainers
1
Install size
18.4 MB
Created

Readme

Source

chromecast-controller

License npm Downloads Donate Donate

Easily cast to Chromecast and control playback

Usage Example

var chromecast = require('chromecast-controller');

var media = {
	contentId: 'http://commondatastorage.googleapis.com/gtv-videos-bucket/big_buck_bunny_1080p.mp4',
	contentType: 'video/mp4',
	streamType: 'BUFFERED'
}

chromecast.cast(media, (err) =>
{
	if(err)
	{
		chromecast.close();
		return console.log(err.message);
	}

	console.log('Playing...');
}

Donation

If you like my work please support it by buying me a cup of coffee :-)

PayPal

Keywords

FAQs

Last updated on 30 Sep 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc