-
Notifications
You must be signed in to change notification settings - Fork 11
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
feature(global-cta-modal-implementation): Global CTA Video Modal. #335
feature(global-cta-modal-implementation): Global CTA Video Modal. #335
Conversation
Hello, I'm Franklin Bot and I will run some test suites that validate the page speed.
|
|
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nimithshetty17
The video player is opening a modal for all the button and link styles.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All CTAs are opening the modal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nimithshetty17 Looks good overall! I just have minor code suggestion, but the modal overlay is rendering when the a link is set to YT or MP4 paths. https://global-cta-modal-implementation--merative2--nimithshetty17.hlx.page/block-library/buttons/buttons-all
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for addressing my code suggestions.
|
|
@nimithshetty17 I decided to revert this PR from the You might need to adjust your approach to appending the video overlay outside of the Let's open a new PR for this work and include that fix that eliminates the 404 error in the console log. |
Issue
Fixes #MERATIVE-858
Description
We need to ensure that all of the button styles (e.g.. Primary, Secondary, Tertiary) (see - https://main--merative2--hlxsites.hlx.page/block-library/buttons/buttons-video) can support video modal when the href is defined as a video type.
Changed
Test URLs
main
): https://main--merative2--nimithshetty17.hlx.page/block-library/buttons/buttons-allTesting Instruction
To test if the video player is opening a modal for all the button and link styles.