Skip to content

swz-git/easymedia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Type npm i -s easymedia into your terminal/console.

Usage

Play sound from link or local path

const { Sound } = require("easymedia");

let mySound = new Sound("https://example.com/sound.mp3");
mySound.play();

Play media (a video) from link or local path

const { Media } = require("easymedia");

let myFilm = new Media("https://example.com/video.mov");
myFilm.play();

About

A node media player powered by ffmpeg.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published