# chromecast-player-reloaded

> Node chromecast player reloaded

Latest version **1.1.0** (published 2019-05-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install chromecast-player-reloaded
pnpm add chromecast-player-reloaded
yarn add chromecast-player-reloaded
bun add chromecast-player-reloaded
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2019-05-10 |
| First published | 2019-05-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Unpacked size | 17.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Rafostar |
| Maintainers | rafostar |
| Keywords | chromecast, media, player, video |

## Links

- npm: https://www.npmjs.com/package/chromecast-player-reloaded
- Repository: https://github.com/Rafostar/chromecast-player-reloaded
- Homepage: https://github.com/Rafostar/chromecast-player-reloaded#readme
- Issues: https://github.com/Rafostar/chromecast-player-reloaded/issues
- npm.io page: https://npm.io/package/chromecast-player-reloaded

## Dependencies (9)

- [ware](https://npm.io/package/ware.md) ^1.3.0
- [debug](https://npm.io/package/debug.md) ^4.1.1
- [xtend](https://npm.io/package/xtend.md) ^4.0.1
- [castv2](https://npm.io/package/castv2.md) 0.1.8
- [mutate.js](https://npm.io/package/mutate.js.md) ^0.2.0
- [time-line](https://npm.io/package/time-line.md) ^1.0.1
- [promiscuous](https://npm.io/package/promiscuous.md) ^0.7.2
- [castv2-client](https://npm.io/package/castv2-client.md) ^1.2.0
- [multicast-scanner](https://npm.io/package/multicast-scanner.md) ^2.0.0

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2019-05-10
- 1.0.0 — 2019-05-09

## README

# chromecast-player-reloaded
[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TFVDFD88KQ322)
[![Donate](https://img.shields.io/badge/Donate-PayPal.Me-lightgrey.svg)](https://www.paypal.me/Rafostar)

### Node chromecast player reloaded.
Based on [xat/chromecast-player](https://github.com/xat/chromecast-player).
Relies on the [castv2-client](https://github.com/thibauts/node-castv2-client) lib
from thibauts.

All credits go to them.<br>
I decided to fork my own version as original project does not seem to be maintained anymore.

### Usage
Start Playback of some video file:

```javascript
const player = require('chromecast-player-reloaded')();
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:

```javascript
const player = require('chromecast-player-reloaded')();

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

### Installation

```bash
npm install chromecast-player-reloaded
```

## License
MIT

## Donation
If you like my work please support it by buying me a cup of coffee :grin:

[![PayPal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TFVDFD88KQ322)

---
_Source: https://npm.io/package/chromecast-player-reloaded · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
