Skip to content

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 opencast:master Oct 5, 2023
@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