@hola.org/videojs-utils

Video.JS utility functions

Stats

StarsIssuesVersionUpdatedCreatedSize
@hola.org/videojs-utils
000.0.1-55 years ago5 years agoMinified + gzip package size for @hola.org/videojs-utils in KB

Readme

videojs-utils

Helper functions for Video.JS

Local Storage

Persistent local storage support (with fallback to cookies) surviving page reloads.

var volume = videojs.utils.localStorage.getItem('volume');
if (volume!=null)
    player.volume(volume);
...
player.on('volumechange', function(){
    videojs.utils.localStorage.setItem('volume', player.volume());
});

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.