Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

guardian/videojs-persistvolume

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 72.5%
  • HTML 27.5%