Nutmeg Pumpkin Macchiato

    html5-video-error-translator

    1.2.2 • Public • Published

    html5-video-error-translator

    npm version downloads count dependencies travis coveralls snyk

    🔨 Translate HTML5 <video> error code to string

    Install

    npm install html5-video-error-translator

    Usage

    var translate = require('html5-video-error-translator').translate;
     
    // jQuery
    $video.on('error', function (evt) {
        console.log(translate(evt);
    });
     
    // Pure
    video.onerror = function (evt) {
        console.log(translate(evt);
    };

    Unit tests

    npm test

    Code coverage

    npm run coverage

    License

    The MIT License @ 2016-2019

    Install

    npm i html5-video-error-translator

    DownloadsWeekly Downloads

    1

    Version

    1.2.2

    License

    MIT

    Unpacked Size

    4.09 kB

    Total Files

    4

    Last publish

    Collaborators

    • piecioshka