change sounds to .ogg
This commit is contained in:
parent
48a43d0fb3
commit
81d6867a1c
@ -181,7 +181,7 @@ function setLeftPoints(newPoints) {
|
|||||||
$(".pointsLeft").text(newPoints);
|
$(".pointsLeft").text(newPoints);
|
||||||
$("#mPunkteLeft").val(newPoints);
|
$("#mPunkteLeft").val(newPoints);
|
||||||
if(sounds && (display || serverSound)) {
|
if(sounds && (display || serverSound)) {
|
||||||
audio = new Audio('./sounds/zahlRichtig.mp3');
|
audio = new Audio('./sounds/zahlRichtig.ogg');
|
||||||
audio.play();
|
audio.play();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -190,14 +190,14 @@ function setRightPoints(newPoints) {
|
|||||||
$(".pointsRight").text(newPoints);
|
$(".pointsRight").text(newPoints);
|
||||||
$("#mPunkteRight").val(newPoints);
|
$("#mPunkteRight").val(newPoints);
|
||||||
if(sounds && (display || serverSound)) {
|
if(sounds && (display || serverSound)) {
|
||||||
audio = new Audio('./sounds/zahlRichtig.mp3');
|
audio = new Audio('./sounds/zahlRichtig.ogg');
|
||||||
audio.play();
|
audio.play();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function startAnswerFail() {
|
function startAnswerFail() {
|
||||||
if(sounds && (display || serverSound)) {
|
if(sounds && (display || serverSound)) {
|
||||||
answerFail = new Audio('./sounds/failFinal.mp3');
|
answerFail = new Audio('./sounds/failFinal.ogg');
|
||||||
answerFail.volume = answerFailVolume;
|
answerFail.volume = answerFailVolume;
|
||||||
answerFail.play();
|
answerFail.play();
|
||||||
}
|
}
|
||||||
@ -216,7 +216,7 @@ function startSchweinchen() {
|
|||||||
$("#displayQuestions").hide();
|
$("#displayQuestions").hide();
|
||||||
|
|
||||||
if(sounds && (display || serverSound)) {
|
if(sounds && (display || serverSound)) {
|
||||||
schweinchen = new Audio('./sounds/schweinchen.wav');
|
schweinchen = new Audio('./sounds/schweinchen.ogg');
|
||||||
schweinchen.volume = schweinchenVolume;
|
schweinchen.volume = schweinchenVolume;
|
||||||
schweinchen.play();
|
schweinchen.play();
|
||||||
}
|
}
|
||||||
@ -252,7 +252,7 @@ function showIntro() {
|
|||||||
$(".noIntro").hide();
|
$(".noIntro").hide();
|
||||||
$(".intro").show();
|
$(".intro").show();
|
||||||
if(sounds && (display || serverSound)) {
|
if(sounds && (display || serverSound)) {
|
||||||
intro = new Audio('./sounds/intro.mp3');
|
intro = new Audio('./sounds/intro.ogg');
|
||||||
intro.volume = introVolume;
|
intro.volume = introVolume;
|
||||||
intro.play();
|
intro.play();
|
||||||
}
|
}
|
||||||
@ -390,7 +390,7 @@ function setAnswer(index, answer) {
|
|||||||
var el = $($("#answers").find(answer_select)[index]);
|
var el = $($("#answers").find(answer_select)[index]);
|
||||||
el.empty();
|
el.empty();
|
||||||
if(sounds && (display || serverSound)) {
|
if(sounds && (display || serverSound)) {
|
||||||
audio = new Audio('./sounds/textRichtig.mp3');
|
audio = new Audio('./sounds/textRichtig.ogg');
|
||||||
audio.play();
|
audio.play();
|
||||||
}
|
}
|
||||||
el.typed({
|
el.typed({
|
||||||
@ -413,7 +413,7 @@ function setAnz(index, nr) {
|
|||||||
var el = $($("#answers").find(points_select)[index]);
|
var el = $($("#answers").find(points_select)[index]);
|
||||||
el.text(nr);
|
el.text(nr);
|
||||||
if(sounds && (display || serverSound)) {
|
if(sounds && (display || serverSound)) {
|
||||||
audio = new Audio('./sounds/zahlRichtig.mp3');
|
audio = new Audio('./sounds/zahlRichtig.ogg');
|
||||||
audio.play();
|
audio.play();
|
||||||
}
|
}
|
||||||
recalcSum(nr);
|
recalcSum(nr);
|
||||||
|
@ -95,7 +95,7 @@ var connectWs = function() {
|
|||||||
if($(".marker"+value).css("color") == "rgb(127, 115, 115)") {
|
if($(".marker"+value).css("color") == "rgb(127, 115, 115)") {
|
||||||
$(".marker"+value).css("color","rgb(211, 16, 16)");
|
$(".marker"+value).css("color","rgb(211, 16, 16)");
|
||||||
if(sounds && (display || serverSound)) {
|
if(sounds && (display || serverSound)) {
|
||||||
audio = new Audio('./sounds/fail.mp3');
|
audio = new Audio('./sounds/fail.ogg');
|
||||||
audio.play();
|
audio.play();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Binary file not shown.
BIN
web/sounds/fail.ogg
Normal file
BIN
web/sounds/fail.ogg
Normal file
Binary file not shown.
Binary file not shown.
BIN
web/sounds/failOrginal.ogg
Normal file
BIN
web/sounds/failOrginal.ogg
Normal file
Binary file not shown.
Binary file not shown.
BIN
web/sounds/fail_old.ogg
Normal file
BIN
web/sounds/fail_old.ogg
Normal file
Binary file not shown.
Binary file not shown.
BIN
web/sounds/failfinal.ogg
Normal file
BIN
web/sounds/failfinal.ogg
Normal file
Binary file not shown.
Binary file not shown.
BIN
web/sounds/intro.ogg
Normal file
BIN
web/sounds/intro.ogg
Normal file
Binary file not shown.
BIN
web/sounds/schweinchen.ogg
Normal file
BIN
web/sounds/schweinchen.ogg
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
web/sounds/textRichtig.ogg
Normal file
BIN
web/sounds/textRichtig.ogg
Normal file
Binary file not shown.
Binary file not shown.
BIN
web/sounds/zahlRichtig.ogg
Normal file
BIN
web/sounds/zahlRichtig.ogg
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user