Skip to content
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

Firefox time#duration issue #35

Open
nichtsooft opened this issue Apr 13, 2021 · 3 comments
Open

Firefox time#duration issue #35

nichtsooft opened this issue Apr 13, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@nichtsooft
Copy link

nichtsooft commented Apr 13, 2021

Hi there!

When I'm loading the demo-site "custom-html5-video.surge.sh" using Mozilla Firefox v87 (on Windows x64) the first time,
everything works fine.
When I'm reloading the page, the script is unable to read the video duration (see attachment).
The console doesn't output any related warnings or errors.
This also occures using other mp4 video sources independent from the server. I tried the code on my server as well.

2021-04-13_22h41_08.mp4

I tried adding a default max-attribute to #seek and a lot of other things including changing the method to access the "max"-attribute to element.max instead of element.getAttribute('max') but I can't get it to work. 🤷🏻‍♂️

Greetz, nichtsooft

@ayoisaiah
Copy link
Contributor

Thanks for opening this issue. I can reproduce it on Firefox 88 also on Windows. Will investigate and update this issue soon if I find a solution

@ayoisaiah ayoisaiah self-assigned this Apr 14, 2021
@ayoisaiah ayoisaiah added the bug Something isn't working label Apr 14, 2021
@ghost
Copy link

ghost commented Oct 16, 2023

This is still an issue with modern Firefox.

@ghost
Copy link

ghost commented Oct 16, 2023

Add initializeVideo() at the end of the JS file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants