sebaro / ViewTube

Watch videos from video sharing websites with extra options.
http://sebaro.pro/viewtube
GNU General Public License v3.0
27 stars 5 forks source link

Audio levels don't save between pages. #2

Open NateChoe1 opened 3 years ago

NateChoe1 commented 3 years ago

When I open a page, I have to lower the volume manually because if I just press play the volume is extremely loud. This would be fine if I could just set the volume once and be done with it, but the volume is constantly really high every time I load a new page, and I have to lower the volume every time.

sebaro commented 3 years ago

I do not store video player settings.

You can add/change the settings for the Video element in:

if (option['embed'] == 'Video') { videoProperties = {id: 'vtVideo', type: videoType, src: player['videoList'][player['videoPlay']], controls: 'controls', autoplay: 'autoplay', poster: player['videoThumb'], innerHTML: embedcontent[option['embed']]};}

For audio volume: volume: 0.5 Values from 0.0 to 1.0