From 1d6e12611a4f668bc7fafd7558f22054148fdcfa Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Tue, 12 May 2015 10:59:40 +0200 Subject: [PATCH] Low volume from start --- controllers/prototype/views/prototype.jade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/controllers/prototype/views/prototype.jade b/controllers/prototype/views/prototype.jade index f06f9da..90af0ef 100644 --- a/controllers/prototype/views/prototype.jade +++ b/controllers/prototype/views/prototype.jade @@ -20,6 +20,7 @@ block extrajs else if cameraStyle == 'reverse' script RecommendedCamera = ReverseCamera script(src="/static/js/prototype/main.js") + script document.getElementById('music').volume = 0.5; block extrahead link(rel="stylesheet" href="/static/css/prototype.css") @@ -61,7 +62,7 @@ block content input#showarrows(type="checkbox", style={'margin-right': '10px', 'margin-bottom': '10px'}, checked) label(for="showarrows" style={'margin-right':'10px'}) Show arrows - audio(controls) + audio#music(controls, volume=0.5) source(src="/static/data/music/bobomb.mp3") #container(style={'padding': '0px', 'margin': '0px'}, tabindex="1")