-
Notifications
You must be signed in to change notification settings - Fork 799
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
Jetpack Sync: extract video and audio shortcodes #38556
Conversation
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 The e2e test report can be found here. Please note that it can take a few minutes after the e2e tests checks are complete for the report to be available. Once your PR is ready for review, check one last time that all required checks appearing at the bottom of this PR are passing or skipped. Jetpack plugin: The Jetpack plugin has different release cadences depending on the platform:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
f8572d1
to
2c3ef1b
Compare
a8d4d98
to
59012cb
Compare
Could you add detailed testing instructions, @trakos? Thanks |
Thanks for taking a look, @monsieur-z! I've created a pb with steps for testing from wpcom: 35368-pb/#plain There's also an automated test that verifies video shortcode URL:
|
Hi @jeherve, do you know if there's someone familiar with Media Extractor who would be able to review this? We mostly test those changes on wpcom, but it's also used in Jetpack, so we were hoping for an additional review - panfyZ-3Qs-p2#comment-9724. Thanks! |
@Automattic/jetpack-reach Is this something you could look at? I suspect this may impact Publicize since more content could make it to Open Graph Meta tags and publicized posts? @trakos Do you think it would be possible to add tests to |
Thank you for looking into this!
I think that it shouldn't affect it unless Media Summary switch would be changed to include those two shortcodes, but I'd appreciate if someone would be able to double-check that.
Good point, I've added two new methods with more shortcodes to test on. |
Thanks for the ping, @jeherve. The OG:tags appear to be working OK. I ran the changes on my sandbox and published a post with images in the body and the video shortcode like this on this branch. @trakos, do you think the following post is a good way to test this? I have an image in the body of the post and video shortcode in there. Happy to give it an approval after you confirm. :) I shared it to Tumblr to using Jetpack Social. I also shared it fo Facebook/Threads/Linkedin. They all looked OK. Tumblr showed up like this, but it was like that on trunk as well. |
@spsiddarthan thank you for testing this! Yes, that's a good post to test it on, since the video shortcode URL would be picked up now with my changes - glad to hear it didn't affect sharing. |
Proposed changes:
Support video and audio shortcodes in Media Extractor.
Other information:
Jetpack product discussion
panfyZ-3Qs-p2#comment-9718
Requires D156727-code to update tests first.
Does this pull request change what data or activity we track or use?
No
Testing instructions:
Testing on a post in wpcom: 35368-pb/#plain