[Video block] Showing the play button after inserting URL that doesn't exist #42443
Labels
[Block] Video
Affects the Video Block
Mobile App - i.e. Android or iOS
Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)
[Priority] High
Used to indicate top priority items that need quick attention
[Type] Bug
An existing feature does not function as intended
Description
When inserting a URL that doesn't exist to the video block, the play button can still be tapped (but nothing loads, since the URL doesn't exist).
Step-by-step reproduction instructions
1 - Open a post or a page
2 - Add a video block
3 - Select the option "Insert from URL"
4 - Insert a URL that doesn't exist (e.g.
https://www.thisisnotavalidurl.com.br
) and tap "Apply"5 - Observe the video block
Expected behaviour
The video block shows the "ADD VIDEO" button and doesn't load anything (this happens if I insert an invalid URL, such as
"aaaaaaa"
).Actual behaviour
The video block shows the play button and let's us play the video, even though it never loads since the URL doesn't exist.
Screenshots or screen recording (optional)
Uploading gutenberg_video_block.mov…
WordPress information
Device information
The text was updated successfully, but these errors were encountered: