Commit 2ed2d99e authored by Mario Botsch's avatar Mario Botsch
Browse files

fix jingle intialization

parent 693b2353
......@@ -10,7 +10,7 @@ let RevealJingle = (function () {
function createJingle(filename, style, volume) {
console.log(" add jingle " + filename + " with volume " + (volume?volume:"1.0"));
const defaultStyle = "display:block; position:absolute; left:0; right:0; top:0; bottom:0; margin:auto; object-fit:contain; pointer-events:none;"
const defaultStyle = "display:none; position:absolute; left:0; right:0; top:0; bottom:0; margin:auto; object-fit:contain; pointer-events:none;"
let vid = document.createElement("video");
vid.style = style ? defaultStyle+style : defaultStyle;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment