startAt.zip (1.8 MB)
Hi there, I added a button to start audio at a certain point but with no success at all… Where am I wrong?
-
You need to use actual seconds (not milliseconds) for currentTime.
-
The original mp3 does not correctly indicate its length - at least on my set-up using several different browsers. It claims to be “5:54” but it is really just “0:21”. So anything with a currentTime over “21” is going to give an improper response (begins playing from “0” seconds).
I replaced the original mp3 with one of my own “80s_vibe.mp3” (1:21 seconds in length). The time in “startAt()” is “60” or the one minute mark.
Attached is the new version: startAt_JHSv1.hype.zip (1021.0 KB)
Absolutely perfect! Thanks!
1 Like