Skip to content

Added audio or video URLs are not parsed correctly, resulting in unplayable media blocks #21171

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

Open
ScenarioKG opened this issue Aug 29, 2024 · 2 comments · May be fixed by #21849
Open

Added audio or video URLs are not parsed correctly, resulting in unplayable media blocks #21171

ScenarioKG opened this issue Aug 29, 2024 · 2 comments · May be fixed by #21849

Comments

@ScenarioKG
Copy link

ScenarioKG commented Aug 29, 2024

Expected behavior

The added audio or video should be parsed correctly, and the media block should be playable.

Actual behavior

The added audio or video is not parsed correctly, resulting in an unplayable block.

Steps to reproduce the behavior

  1. Click the 'Create a post or page' icon
  2. Click the 'Blog post' button
  3. Click the 'Audio'/'Video' icon
  4. Click the 'Insert from URL'
  5. Enter a valid URL, e.g., "https://youtu.be/g-6g2uEjF1s?si=fkwLragUSjLV7x1u"
  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

Notes

There is only one option (Insert from URL) for adding an audio block but four options for adding a video block. Is this discrepancy intentional, or should there be additional options for adding audio blocks?

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

Thanks for reporting! 👍

@nbradbury nbradbury reopened this Aug 29, 2024
@BeatrizAlmeida03
Copy link

Hello, can I work on this?

@BeatrizAlmeida03 BeatrizAlmeida03 linked a pull request Apr 30, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants