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: Video Poster Error - Feature: Hide Page Elements Until Load Assets Finished #129

Merged
merged 1 commit into from
Dec 16, 2021

Conversation

Flowdeeps
Copy link
Collaborator

Moved preview CSS to head of the document so that it loads before the content.

Added class to hide all body content which is then removed when the body has loaded at which point the story elements have attached to their intended styles.

Check to see if the video being loaded has a poster in the data object before trying to fill it as it fires an error otherwise.

… content.

Added class to hide all body content which is then removed when the body has loaded at which point the story elements have attached to their intended styles.
Check to see if the video being loaded has a poster in the data object before trying to fill it as it fires an error otherwise.
@Flowdeeps Flowdeeps merged commit 6ba1eb4 into main Dec 16, 2021
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