-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Video block: Video is not displayed when post is saved in the web version #30987
Copy link
Copy link
Closed
Closed
Copy link
Labels
Mobile App - i.e. Android or iOSNative mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)[Priority] HighUsed to indicate top priority items that need quick attentionUsed to indicate top priority items that need quick attention[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Metadata
Metadata
Assignees
Labels
Mobile App - i.e. Android or iOSNative mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)[Priority] HighUsed to indicate top priority items that need quick attentionUsed to indicate top priority items that need quick attention[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Done
Description
This issue was initially identified here: wordpress-mobile/WordPress-iOS#15184
When a video block is saved in the web version then the video can't be displayed in the mobile app and shows the message “Problem displaying block” within the block. Looks like there's some kind of incompatibility on the HTML produced when this block is used in the mobile app and web.
Step-by-step reproduction instructions
The steps for reproducing it are:
NOTE: This issue can be also reproduced by adding a video block in the web version and then opening the post in the mobile app.
As an example, here is the HTML produced in each case:
Native app (WPiOS)
Web
When opened first time with code editor:
When opened with visual editor:
In this case the web version generates a preview, maybe this is related to why it produces a different HTML code.
Expected behaviour
The video should be displayed in the mobile app.
Actual behaviour
The video is not displayed in the mobile app.
Screenshots or screen recording (optional)
WordPress information
Device information