mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-14 00:40:49 +00:00
Add gather sound and change to it
This commit is contained in:
parent
059be8a76a
commit
78edb9c4c9
2 changed files with 2 additions and 2 deletions
|
@ -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
BIN
public/sounds/gather-6.mp3
Normal file
Binary file not shown.
Loading…
Reference in a new issue