Skip to content
Snippets Groups Projects
Commit a79deccb authored by jojohoch's avatar jojohoch
Browse files

Set default volume of audios and videos to 80%

parent cf34e9be
No related branches found
No related tags found
No related merge requests found
...@@ -65,6 +65,7 @@ export class ControlBarComponent implements OnInit, OnChanges, OnDestroy { ...@@ -65,6 +65,7 @@ export class ControlBarComponent implements OnInit, OnChanges, OnDestroy {
this.player.onvolumechange = () => { this.player.onvolumechange = () => {
this.player.muted = !this.player.volume; this.player.muted = !this.player.volume;
}; };
this.player.volume = 0.8;
this.lastVolume = this.player.volume; this.lastVolume = this.player.volume;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment