diff --git a/templates/hello.html b/templates/hello.html index 72eaf3f..98e453c 100644 --- a/templates/hello.html +++ b/templates/hello.html @@ -8,7 +8,7 @@
- + hello @@ -25,8 +25,8 @@
-
@@ -91,16 +91,12 @@ elem.scrollIntoView(); } - - var soundToPlay = document.getElementById('audio-1'); - function Start(){ - randomStartingTime = Random.Range(0.0, 3099.0); - PlaySound(); - } - function PlaySound(){ - soundToPlay.time = randomStartingTime; - soundToPlay.Play(); - } + function play() { + var audio = document.getElementById("audio-1"); + audio.currentTime=12; + audio.play(); + } +// document.getElementById("audio-1").loop = true;