Numbers Probably Matter

    easymedia

    1.0.1 • Public • Published

    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();

    Install

    npm i easymedia

    DownloadsWeekly Downloads

    3

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    3.1 kB

    Total Files

    4

    Last publish

    Collaborators

    • swz-npm