/videojs-persistvolume

A plugin for videojs that saves user's volume setting.

Primary LanguageJavaScriptMIT LicenseMIT

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'
    }
}