Closed jklegseth closed 7 years ago
Hello,
Works fine for me on my MP3. Did you try another file?
For example, if I use the controls below your file, it doesn't change time either. https://allthingsaudio.wikispaces.com/file/view/Shuffle%20for%20K.M.mp3/139190697/Shuffle%20for%20K.M.mp3
@jaysalvat thanks for the response. That isn't my website or MP3, just a URL I used for testing. This issue started for me on a local server, using local MP3 files and I tried several. I'll do some more testing.
My bad, sorry for wasting your time. I tried a few more MP3s, some worked, some didn't, so the issue must be on the encoding side or maybe how they are being served.
I had a page that used a slider you can slide or click to change playing location. To do that I used
setTime()
but couldn't get it to work. So I created a barebones example to make sure it wasn't a problem I was introducing, and it still didn't work. What I found is thatsetTime()
works fine withogg
but the same code with amp3
doesn't work. I'll paste my code below but I've also created JSBin of each so I'll link to those as well. Most of this code is straight from the Buzz library website.ogg
JSBinmp3
JSBinTo see the issue click the "Start play at 15 seconds" button--works for
ogg
, not formp3
.ogg
codemp3
code Same as above except: