- Notifications
You must be signed in to change notification settings - Fork 74
Add YouTube NoCookie Support #827
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
Add YouTube NoCookie Support #827
Conversation
Tested and can confirm this patch does fix the issue.One thing to note is that in order for the youtube-no-cookie link to be loaded by pagebuilder, the
|
Hmm indeed, unfortunately, it is a bit more involved than this :-/ I will try to work on a proper fix. |
Another issue you'll most probably face is that Page Builder will revert back to using For example, both https://www.youtube.com/watch?v=dQw4w9WgXcQ and https://youtu.be/dQw4w9WgXcQ (note the different domains) get converted to https://www.youtube.com/embed/dQw4w9WgXcQ when the data is read, meaning if the content is re-saved - even without changes - it'll go back to using the cookie-based domain. |
With my latest changes, this should now work as expected. Mind testing, @bluemwhitew? |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@bluemwhitew, mind testing the changes from this PR? @paras89, I think the failing tests are unrelated to this PR...? |
@paras89, would you be able to have a look at this PR? |
I mistakenly approved this rather than 👍 , was on autopilot and too used to approving internal Ampersand PRs, whoops 😆 |
I would highly suggest adding (or extending) Magento Functional Testing Framework (MFTF) tests to support this changeset, which will make it easier to validate. |
Thanks for the advice, @bluemwhitew. I value my time highly, though. If any Adobe official said "we'll merge this as soon as there is MFTF coverage", I'll consider implementing this. Until then, I save my time for more valuable tasks... |
@sidolov, I feel bad for tagging you directly, but I currently do not know how else I could move this forward. Would you be able to move this forward? |
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.
Hello @sprankhub,
I have reviewed the changes and it looks good to me. Can you please add some automated test for changes made in this PR?
We will move it further with this after the automated test has been added.
Thanks
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
@engcom-Hotel, I extended a fitting MFTF test. The failing WebAPI Tests look unrelated to me. Could you have another look, please? |
@magento run WebAPI Tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
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.
Thanks @sprankhub for adding the automated test. I am approving this PR to process further.
Awesome job on this, @sprankhub! 🤘🏻 |
Hi @sprankhub, Thanks for the collaboration & contribution! ✔️ QA PassedPreconditions:
Manual testing scenario:
Before: ✖️ ![]() After: ✔️ ![]() |
This PR is in development by an internal team, it will be completed and delivered to the mainline according to our standards and processes. All the original community commits will be preserved. |
Thanks @devarul for the updates. We are moving this PR |
Description (*)
Adds support for youtube-nocookie.com domain.
Bug
#826
Fixed Issues (if relevant)
Builds
Manual testing scenarios (*)
See #826.
Questions or comments
Checklist