New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wild track and volume scrolling #211
Comments
Sorry, I must have missed the notification about this issue. 😅 Looks like you got the track scrolling sorted, but there's no progress bar. Were there issues trying to click and drag to "scrub" through it, perhaps? It might be that the mouse movement calculation of X and Y offsets were thrown off depending on how you're positioning elements in CSS. |
Yeah. Hid it off. Here's the volume control that doesn't work either: It is also strange that when you click on Volume at the top of the address bar you will see #volume, which is not the case in the demo. |
@MuetzeOfficial Huh! Probably something about the way the link click is handled, like something isn't doing |
(I made the progress bar visible again.) How can I find the error or find out what is causing it? |
@MuetzeOfficial Looking at the response headers, I think this is an issue with the MP3 file and how it's served up. It looks like the request/response does not include partials or byte ranges, and I have a feeling that's why HTML5 clients won't want to show a duration. Byte serving is how HTML5 clients prefer to receive audio/video, in chunks or "ranges". This is what allows users to scrub or jump from one section to another, where bits can be buffered in as needed. It's good to see
|
From what I see, |
The MP3 are checked via PHP, so you can't just download them without problems. Therefore the strange header... I have included direct MP3 files in the example. The header now:
But the volume and progress still don't work. Could this still be due to the header? |
Hmm. Something maybe about that I would expect a direct, regular plain old MP3 link to work. On the page I linked previously re: request/response, I'd expect to see something like this (and I think you're on the right path at least, in that regard):
I suspect the volume bit is a UI thing, not related to the way the file is served over HTTP - but I think the duration issue is HTTP-related somehow, or maybe (though unlikely), something about the MP3 itself. SM2 should say (with ?debug=1 etc.), that it gets a |
Here is a direct link to one of the music files: On the test page I included the original Javascript with debug. Maybe this helps? |
The track and volume scrolling is unusable with the desktop side. What make I wrong?
https://daysndaze.net/music2
The text was updated successfully, but these errors were encountered: