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

Dance page - fix video bug #25983

Merged
merged 1 commit into from Nov 11, 2018
Merged

Dance page - fix video bug #25983

merged 1 commit into from Nov 11, 2018

Conversation

nkiruka
Copy link
Contributor

@nkiruka nkiruka commented Nov 11, 2018

Bug: The creativity video does not play when the play button is clicked.

Error: Uncaught reference error (video id was not found)

Fix: The naming convention used for the video id was incorrect. The video id (creativity-is), does not match the convention used to find a video which requires an underscore if there are multiple words used for the video id. New video id name: creativity_is

creativity_video

Copy link
Member

@breville breville left a comment

Choose a reason for hiding this comment

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

Ah, good catch. That's because we have some very old code which handled multiple videos on a page by generating fresh javascript functions for each. Not very elegant, and prone to a break like this, as it happens.

@nkiruka nkiruka merged commit 7aa9a0f into staging Nov 11, 2018
@nkiruka nkiruka deleted the fix-creativity-video-bug branch December 20, 2018 21:53
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

2 participants