-
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
fix(video): aligned to design & addressed youtube loading issue #307
Conversation
Hello, I'm Franklin Bot and I will run some test suites that validate the page speed.
|
|
@sahmad-merative Just a couple of notes before I start to review this PR.
|
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.
@sahmad-merative
1.Video is not playing for Carbon with video on left.
Background You tube Video player issue is Tested it is working as expected |
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.
|
|
|
|
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.
@sahmad-merative Looks good! I just have a comment about the removal of the data-hj-allow-iframe
attribute that's needed within the YT iframe code.
Also, @amol-anand or @helms-charity Can you help review this PR? There are a good amount of code changes within the video.js
that would be great for you to take a look and make sure we're not missing anything.
// Add the data-hj-allow-iframe attribute | ||
iframe.setAttribute('data-hj-allow-iframe', ''); |
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.
This code should not be removed. We need to add the data-hj-allow-iframe
to the YT iframe.
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.
Changes addressed.
|
|
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.
@sahmad-merative Thanks for addressing my feedback. Everything looks good from a code perspective.
I'll defer to @sachinmesh and @sharathmrft to verify the design QA and browser testing portions.
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.
@sahmad-merative You tube player is verified it is working as expected and verified in different browsers as well.
@proeung @Shalini-SB
|
All feedback is implemented now. @sahmad-merative @proeung @sharathmrft @Shalini-SB @keith-kaplan |
|
Multiple Youtube video issue fixes
Issue
UI fixes : fonts, Spacing, and alignments of text and image fixes
Fixes # MERATIVE-784
MERATIVE-796
Description
aligned design according to figma
fixed multiple youtube video on a page issue
Design Specs
Test URLs
main
): https://main--merative2--hlxsites.hlx.page/block-library/blocks/videoTesting Instruction