Skip to content

An inaccessible audio URL can be added without any warning or feedback #21168

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

Closed
ScenarioKG opened this issue Aug 29, 2024 · 4 comments
Closed

Comments

@ScenarioKG
Copy link

Expected behavior

The system should provide feedback or a notification indicating if the URL is incorrect or inaccessible, preventing further action until the issue is resolved.

Actual behavior

In step 7, no feedback or notification is provided about the incorrectness of the URL, leaving users unaware of any issues.
In step 9, a '0:00 / 0:00' audio block is added.

Steps to reproduce the behavior

  1. Click the 'Create a post or page' icon
  2. Click the 'Blog post' button
  3. Click the 'Audio' icon
  4. Click the 'Insert from URL'
  5. Enter an inaccessible URL, e.g., "https://example.com/audiofile.mp3"
  6. Tap the 'Done' button on the keyboard
  7. Click the outside of the 'Insert from URL' pop-up
  8. Click the 'Three-dot' menu
  9. Click the 'Preview' button
Tested on [device], Android [version], JPAndroid / WPAndroid [version]

Galaxy A14 5G, Android 13, JPAndroid / WPAndroid 25.2.1 (1444)

Screen_recording.mp4
@dangermattic
Copy link
Collaborator

dangermattic commented Aug 29, 2024

Thanks for reporting! 👍

@WesleyJammer
Copy link

hey, i am pretty new with opensource and for a school project i have to work on an opensource project. i am curious if this issue is still open and if so, i can work on it?

@jkmassel
Copy link
Contributor

This seems like an issue better solved in Gutenberg Core – it's not unique to WP Android.

WDYT @dcalhoun?

@dcalhoun
Copy link
Member

dcalhoun commented Apr 16, 2025

Yes, I agree this should be addressed or improved in Gutenberg Core.

I'll note that GutenbergKit mirrors Gutenberg web in that it does display a small "error" text when this is situation occurs. The referenced "error" text is unrelated to GutenbergKit or Gutenberg web, it is simply Safari audio player functionality and it not present in Android Chrome. Regardless, improvements should still occur in Gutenberg core.

GutenbergKit audio block error

GutenbergKit displaying error message for failed audio block

@dcalhoun dcalhoun closed this as not planned Won't fix, can't repro, duplicate, stale Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants