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

Disable details settings for not belonged VideoPress videos #5782

Merged
2 changes: 2 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Unreleased
---
* [*] Add disabled style to `Cell` component [https://github.com/WordPress/gutenberg/pull/50665]
* [**] Disable details settings for not belonged VideoPress videos [https://github.com/wordpress-mobile/gutenberg-mobile/pull/5782]
* [***] Enable VideoPress block on Android (only available in Simple WPCOM sites) [#5780]
* [**] Tapping any type of nested block moves focus to the nested block directly, rather than requiring multiple taps to navigate down each nesting levels. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/5781]

Expand Down
2 changes: 1 addition & 1 deletion gutenberg
Submodule gutenberg updated 141 files
2 changes: 1 addition & 1 deletion jetpack
Submodule jetpack updated 695 files
6 changes: 5 additions & 1 deletion src/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ const setupHooks = () => {
( endpoints ) => {
return {
...endpoints,
GET: [ ...endpoints.GET, /rest\/v1.1\/videos.*/i ],
GET: [
...endpoints.GET,
/rest\/v1.1\/videos.*/i,
/wpcom\/v2\/videopress\/\w*\/check-ownership\/.*/i,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This endpoint is used to check if a video belongs to a site.

],
POST: [
...endpoints.POST,
/wpcom\/v2\/(media)\/.*/i,
Expand Down