Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio levels don't save between pages. #2

Open
NateChoe1 opened this issue Jan 30, 2021 · 1 comment
Open

Audio levels don't save between pages. #2

NateChoe1 opened this issue Jan 30, 2021 · 1 comment

Comments

@NateChoe1
Copy link

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
Copy link
Owner

sebaro commented Jan 30, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants