wordpress-mobile / wordpress-mobile/WordPress-Android
Added audio or video URLs are not parsed correctly, resulting in unplayable media blocks
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
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
- Click the 'Create a post or page' icon
- Click the 'Blog post' button
- Click the 'Audio'/'Video' icon
- Click the 'Insert from URL'
- Enter a valid URL, e.g., "https://youtu.be/g-6g2uEjF1s?si=fkwLragUSjLV7x1u"
- Tap the 'Done' button on the keyboard
- Click the outside of the 'Insert from URL' pop-up
- Click the 'Three-dot' menu
- 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)
https://github.com/user-attachments/assets/3d282101-f4fc-4efe-96d5-02c25e316488
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue on the reported Galaxy A14 5G with Android 13 and WPAndroid 25.2.1, using the supplied YouTube URL and the Audio and Video insert-from-URL flows. Trace where the URL is parsed before preview; done means the resulting audio or video block is playable, with the audio insertion options discrepancy resolved or documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100