-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Initial support for VideoPress v5 #22602
Conversation
📲 You can test the changes from this Pull Request in WordPress Alpha by scanning the QR code below to install the corresponding build.
|
📲 You can test the changes from this Pull Request in Jetpack Alpha by scanning the QR code below to install the corresponding build.
|
…press-mobile/WordPress-iOS into gutenberg/support-for-videopress-v5
@@ -733,6 +735,11 @@ - (BOOL)supportsVideoPress | |||
return self.isHostedAtWPcom; | |||
} | |||
|
|||
- (BOOL)supportsVideoPressV5 | |||
{ | |||
return self.isHostedAtWPcom || self.isAtomic || [self hasRequiredJetpackVersion:@"8.5"]; |
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.
See related comment on Android PR for selecting this version number: https://github.com/wordpress-mobile/WordPress-Android/pull/20181/files#r1497916911
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 🎊 !
RELEASE-NOTES.txt
Outdated
@@ -1,6 +1,6 @@ | |||
24.4 | |||
----- | |||
|
|||
* [**] Block editor: Introduce VideoPress v5 support, to fix issues using video block with dotcom and Jetpack sites [https://github.com/wordpress-mobile/gutenberg-mobile/pull/6634] |
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.
Additionally, since VideoPress v5 is a Jetpack block and it won't be available in the WP app, we should consider adding the prefix [Jetpack-only]
.
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.
Updated in bf07e03, thanks!
Related PRs
Gutenberg
: RNMobile: Add new Video block capability WordPress/gutenberg#59144Gutenberg Mobile
: Initial support for VideoPress v5 gutenberg-mobile#6634Jetpack
: [RNMobile] Initial support for VideoPress v5 Automattic/jetpack#35637Android
: Initial support for VideoPress v5 WordPress-Android#20181To Test:
Please refer to the Jetpack PR as the central place for these changes, with the most up-to-date testing instructions.
Regression Notes
Potential unintended areas of impact
What I did to test those areas of impact (or what existing automated tests I relied on)
What automated tests I added (or what prevented me from doing so)
PR Submission Checklist:
RELEASE-NOTES.txt
if necessary.Testing Checklist: