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

Fix review step on iOS #1132

Merged
merged 2 commits into from
Oct 5, 2023
Merged

Fix review step on iOS #1132

merged 2 commits into from
Oct 5, 2023

Conversation

LukasKalbertodt
Copy link
Member

Fixes #1076

See commits.

It worked in other browsers only by coincidence. I assume that pausing
the video in other browsers always causes a last `timeupdate`, which
lead to a rerender. On Safari this doesn't happen, so we have to make
sure that pausing/playing the video actually causes a rerender.
Copy link
Member

@Arnei Arnei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// For iOS: without the autoplay attribute, the loadeddata event is
// never fired for some reason. Adding this does not seem to actually
// cause Safari to autoplay.

Haha iOS you so funny.

Looks good and works as expected. Tested with iOS 17.0.2.

@Arnei Arnei merged commit 7c70fb7 into elan-ev:master Oct 5, 2023
2 checks passed
@LukasKalbertodt LukasKalbertodt deleted the fix-ios branch October 5, 2023 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Video never loads in review step on iOS
2 participants