Skip to content

Have video player init when event is missed#2095

Draft
taylor-steve wants to merge 1 commit intomainfrom
2385-exhibits-player-fails-to-init
Draft

Have video player init when event is missed#2095
taylor-steve wants to merge 1 commit intomainfrom
2385-exhibits-player-fails-to-init

Conversation

@taylor-steve
Copy link
Copy Markdown
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.

1 participant