videojs-notations

0.0.4 • Public • Published

videojs-notations

=================

A plugin for videojs inspired by ajbogh/video-js-html5Thumbnails and spchuang/videojs-markers


Usage

var video = videojs('#example');
video.notations({
    'notations': [
        {
            'time': 3,
            'text': 'Scantly unrepealably slinky'
        },
        {
            'time': 12.2,
            'text': 'Unbulky bemoisten slumberer bash'
        },
        {
            'time': 32.21,
            'text': 'Inappropriately havel'
        }
    ],
    'size': 180,
    'fontSize': 12,
    'showPreviewWhenHoverOnSeekBar': false
});

Options

{
    'onHover': function(){
 
    },
    'onClick': function(){
        
    },
    'notations': [],
    'size': 128,
    'fontSize': 14,
    'showPreviewWhenHoverOnSeekBar': false
}

License

WTFPL

Readme

Keywords

Package Sidebar

Install

npm i videojs-notations

Weekly Downloads

1

Version

0.0.4

License

WTFPL

Last publish

Collaborators

  • django_wong