Commit 0f094c81 authored by Dominik Klinge's avatar Dominik Klinge Committed by Kevin Wieczorek

Add assets

parent f6cb53a8
...@@ -236,8 +236,10 @@ export let PomodoroTimer = class PomodoroTimer { ...@@ -236,8 +236,10 @@ export let PomodoroTimer = class PomodoroTimer {
closeOnConfirm: false closeOnConfirm: false
}, },
function (isConfirm) { function (isConfirm) {
/*you succeeded so you get the success sound and a success message. good for you! */ /*you succeeded so you get the success sound and a success message. good for you! */
if (isConfirm) { if (isConfirm) {
if (sound1)
document.getElementById("success").play(); document.getElementById("success").play();
sweetAlert({ sweetAlert({
title: "Great job!", title: "Great job!",
......
...@@ -45,12 +45,14 @@ ...@@ -45,12 +45,14 @@
</audio> </audio>
<audio id="bell"> <audio id="bell">
<source src="/audio/Schulgong.mp3" type="audio/mp3"> <source src="/audio/Schulgong.mp3" type="audio/mp3">
</audio> </audio>
<audio id="failure" preload="auto"> <audio id="failure" preload="auto">
<source src="http://www.myinstants.com/media/sounds/you-have-failed.mp3" type="audio/mp3"/> <source src="/audio/fail.mp3" type="audio/mp3"/>
</audio> </audio>
<!-- <audio id="failure" preload="auto"> <!-- <audio id="failure" preload="auto">
...@@ -58,7 +60,7 @@ ...@@ -58,7 +60,7 @@
</audio> --> </audio> -->
<audio id="success" preload="auto"> <audio id="success" preload="auto">
<source src="http://www.myinstants.com/media/sounds/039-a-victory-fanfare.mp3" type="audio/mp3"/> <source src="/audio/success.mp3" type="audio/mp3"/>
</audio> </audio>
</div> </div>
......
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