Unmute about promo video on click

This commit is contained in:
hunicus
2023-05-27 12:38:20 -04:00
parent c758a3538b
commit ce00814bbf
2 changed files with 6 additions and 1 deletions

View File

@@ -94,4 +94,9 @@ export class AboutComponent implements OnInit {
showSubtitles(language) {
return ( this.locale.startsWith( language ) && !this.locale.startsWith('en') );
}
unmutePromoVideo() {
let video = <HTMLVideoElement>this.document.getElementById('promoVideo');
video.muted = false;
}
}