video.js - VolumeSlider not initialized correctly when player loads -


when load video player first time, volume slider set @ 0 volume controls shows @ level 3 (the volume on volume button correct, slider not). once touch volume slider or volume button, issue corrects itself.
how can slider , volume button synchronized first time?

thanks in advance!

by default volume set max. tell me version of video.js use? although check if following commands useful or not

// current volume of media var howloudisit = myplayer.volume();  // set volume new value myplayer.volume(0.5);  // 0 off (muted), 1.0 way up, 0.5 half way. 

Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -