Skip to content
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

Prevent validation error when viewing VideoPress markup within app #4899

Merged
merged 17 commits into from
Jun 23, 2022

Conversation

SiobhyB
Copy link
Contributor

@SiobhyB SiobhyB commented May 25, 2022

Partially fixes WordPress/gutenberg#30987

At the moment, blocks with VideoPress markup create a validation error within the app. This creates a problem as posts that contain videos (for sites with VideoPress enabled) are automatically converted to use VideoPress markup when saved on the web.

Related PRs

Description and Testing

Please refer to the Jetpack PR as the "central PR" with the most up-to-date details and testing instructions.


PR submission checklist:

  • I have considered adding unit tests where possible.
  • I have considered if this change warrants user-facing release notes more info and have added them to RELEASE-NOTES.txt if necessary.

The 'blocks/videopress/editor' file will import a hook that enables VideoPress previews within the app.
@SiobhyB SiobhyB added Video block Jetpack Bug or feature related to Jetpack labels May 30, 2022
@SiobhyB SiobhyB changed the title [WIP] Enable VideoPress previews Prevent validation error when viewing VideoPress markup within app May 30, 2022
@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented May 30, 2022

Wanna run full suite of Android and iOS UI tests? Click here and 'Approve' CI job!

@SiobhyB SiobhyB changed the base branch from trunk to jetpack/fix/node-version May 31, 2022 07:01
@SiobhyB SiobhyB changed the base branch from jetpack/fix/node-version to trunk May 31, 2022 07:01
@SiobhyB SiobhyB changed the base branch from trunk to jetpack/fix/node-version May 31, 2022 07:23
@SiobhyB SiobhyB changed the base branch from jetpack/fix/node-version to trunk May 31, 2022 12:54
@SiobhyB SiobhyB changed the base branch from trunk to jetpack/fix/node-version May 31, 2022 13:27
Base automatically changed from jetpack/fix/node-version to trunk May 31, 2022 17:23
@SiobhyB SiobhyB marked this pull request as ready for review May 31, 2022 22:26
@SiobhyB SiobhyB requested a review from jhnstn May 31, 2022 22:26
Copy link
Member

@jhnstn jhnstn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fluiddot
Copy link
Contributor

@SiobhyB @jhnstn I see that the Jetpack PR was already merged, so I'm wondering if this PR could be merged, is there anything that blocks it?

@SiobhyB
Copy link
Contributor Author

SiobhyB commented Jun 23, 2022

@fluiddot, thanks for the nudge! The only thing that was delaying me from going straight to merge was I wasn't certain of the status around the Jetpack submodule, given we were using an older reference for a long time. I've gone ahead to catch up on the conversations around that and see we're using a newer reference now, so there are no blockers to updating. I'll go ahead to update this PR and merge it. :)

@SiobhyB SiobhyB enabled auto-merge June 23, 2022 09:34
@SiobhyB SiobhyB merged commit 4563a38 into trunk Jun 23, 2022
@SiobhyB SiobhyB deleted the jetpack/enable-videopress-previews branch June 23, 2022 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Jetpack Bug or feature related to Jetpack Video block
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Video block: Video is not displayed when post is saved in the web version
3 participants