We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7d9d60 commit 53c8f33Copy full SHA for 53c8f33
1 file changed
app/public/js/main.js
@@ -361,3 +361,14 @@ function drawEvent(data, svg_area) {
361
$('#area svg g:lt(10)').remove();
362
}
363
364
+
365
366
+// Some hack to start Howler.js it on iPhone
367
+var unlockIOSAudioPlayback = function () {
368
+ var context = Howler.ctx;
369
+ var oscillator = context.createOscillator();
370
+ oscillator.frequency.value = 200;
371
+ oscillator.connect(context.destination);
372
+ oscillator.start(0);
373
+ oscillator.stop(0);
374
+};
0 commit comments