Skip to content

plazarov/videojs-persistvolume

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 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

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 73.6%
  • HTML 26.4%