videojs-persistvolume

0.2.0 • Public • Published

videojs-persistvolume

A plugin for Video.js that saves user's volume setting using localStorage, but falls back to cookies if necessary.

Usage

Include the plugin:

<script src="videojs.persistvolume.js"></script>

Add persistVolume to plugins object with one option, namespace.

plugins: {
    persistvolume: {
	    namespace: 'So-Viral-So-Hot'
    }
}

Changelog

0.2.0

  • Fix compatibility with Video.JS 6 to not throw warnings
  • Initial release from Nullivex

0.1.3p1

  • Final release from jbboehr/videojs-persistvolume

Readme

Keywords

none

Package Sidebar

Install

npm i videojs-persistvolume

Weekly Downloads

70

Version

0.2.0

License

MIT

Last publish

Collaborators

  • nullivex
  • jbboehr