fix volume

This commit is contained in:
devfake 2015-07-05 14:33:54 +02:00
parent 05af5560ae
commit d926c8f52d
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ if(localStorage.getItem('volume') == 'off') {
if(localStorage.getItem('volumeValue') != null) {
$('.video-self').tubeplayer('volume', localStorage.getItem('volumeValue'));
$('.volume').val(localStorage.getItem('volumeValue'));
} else {
$('.volume').val('75');
$('.video-self').tubeplayer('volume', 75);