From d780a63c41c854ee6bca1835fff8370b8c41684c Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sat, 31 May 2014 14:27:01 +0200 Subject: [PATCH] Reduce volume of MoH Fix #49 --- public/js/vroom.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/js/vroom.js b/public/js/vroom.js index 78402d5..c49516f 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -673,7 +673,8 @@ function initVroom(room) { setTimeout(function(){ if (!moh && Object.keys(peers).length < 2){ if (!$('#pauseMohButton').is(':checked')){ - $('#mohPlayer')[0].play(); + $('#mohPlayer').get(0).volume = .25; + $('#mohPlayer').get(0).play(); moh = true; } $('.aloneEl').show(200);