# easymedia

> A node media player powered by ffmpeg.

Latest version **1.0.1** (published 2020-08-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install easymedia
pnpm add easymedia
yarn add easymedia
bun add easymedia
```

## 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.0.1 |
| Published | 2020-08-23 |
| First published | 2020-08-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | SWZ |
| Maintainers | swz-npm |
| Keywords | soundplayer, player, mediaplayer, media, sound, easy, node, speaker, ffmpeg, ffplay |

## Links

- npm: https://www.npmjs.com/package/easymedia
- Repository: https://github.com/SWZ-github/easymedia
- Homepage: https://github.com/SWZ-github/easymedia#readme
- Issues: https://github.com/SWZ-github/easymedia/issues
- npm.io page: https://npm.io/package/easymedia

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2020-08-23
- 1.0.0 — 2020-08-23

## README

# EasyMedia

A node media player powered by ffmpeg.

## Installing

Make sure to have ffmpeg installed.
If you do not you can install it via
this tutorial from [Windowsloop](https://windowsloop.com/install-ffmpeg-windows-10/#download-ffmpeg).

Type `npm i -s easymedia` into your terminal/console.

## Usage

### Play sound from link or local path

```js
const { Sound } = require("easymedia");

let mySound = new Sound("https://example.com/sound.mp3");
mySound.play();
```

### Play media (a video) from link or local path

```js
const { Media } = require("easymedia");

let myFilm = new Media("https://example.com/video.mov");
myFilm.play();
```

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