From a79deccb125851a8c211f40465c219e29a319efd Mon Sep 17 00:00:00 2001 From: jojohoch <joachim.hoch@iqb.hu-berlin.de> Date: Tue, 16 Nov 2021 09:07:00 +0100 Subject: [PATCH] Set default volume of audios and videos to 80% --- .../element-components/control-bar/control-bar.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/common/element-components/control-bar/control-bar.component.ts b/projects/common/element-components/control-bar/control-bar.component.ts index 363b5fd20..5dc5dce8d 100644 --- a/projects/common/element-components/control-bar/control-bar.component.ts +++ b/projects/common/element-components/control-bar/control-bar.component.ts @@ -65,6 +65,7 @@ export class ControlBarComponent implements OnInit, OnChanges, OnDestroy { this.player.onvolumechange = () => { this.player.muted = !this.player.volume; }; + this.player.volume = 0.8; this.lastVolume = this.player.volume; } -- GitLab