Add gather sound and change to it

This commit is contained in:
Ari Timonen 2020-05-10 17:11:14 +03:00
parent 059be8a76a
commit 78edb9c4c9
2 changed files with 2 additions and 2 deletions

View file

@ -34,11 +34,11 @@
success: function(response, text, request) { success: function(response, text, request) {
if (request.getResponseHeader('Gather') == 'voting') { if (request.getResponseHeader('Gather') == 'voting') {
if (!played) { if (!played) {
var startTime = 110; var startTime = 0;
$("#jplayer").jPlayer({ $("#jplayer").jPlayer({
ready: function() { ready: function() {
$(this).jPlayer("setMedia", { $(this).jPlayer("setMedia", {
mp3: "https://www.ensl.org/sounds/gather-1.mp3" mp3: "https://www.ensl.org/sounds/gather-6.mp3"
}).jPlayer("play", startTime); }).jPlayer("play", startTime);
var click = document.ontouchstart === undefined ? 'click' : 'touchstart'; var click = document.ontouchstart === undefined ? 'click' : 'touchstart';

BIN
public/sounds/gather-6.mp3 Normal file

Binary file not shown.