Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

chromecast-player

> 编程语言
Open source

simple chromecast player

100 stars0 likes0 views
WebsiteGitHub

About

simple chromecast player

chromecast-player

A simple chromecast player. Relies on the castv2-client lib from thibauts, all credits go to him.

Usage Samples

Start Playback of some video file:

const player = require('chromecast-player')();
const media = 'http://commondatastorage.googleapis.com/gtv-videos-bucket/ED_1280.mp4';

player.launch(media, (err, p) => {
  p.once('playing', () => {
    console.log('playback has started.');
  });
});

Attach to a currently playing session:

const player = require('chromecast-player')();

player.attach((err, p) => {
  p.pause();
});

Installation

npm install chromecast-player --save

License

Copyright (c) 2014 Simon Kusterer Licensed under the MIT license.

Issues· 8 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言