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

Have video player init when event is missed #2095

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

taylor-steve
Copy link
Contributor

As we discovered in sul-dlss/exhibits#2385, there are some cases (e.g., very slow connection) where the auth validator is dispatching the auth-success event prior to Stimulus adding the binding for initializeVideoJSPlayer which means the video player never initializes. This is true for one embed or multiple and can be reproduced on many browsers.

This is my attempt at a low risk, "don't restructure all the events during the wrong work cycle" fix.

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.

None yet

1 participant