Skip to content
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

[RNMobile] Media & Text: Video sometimes doesn't play within iOS editor #59374

Open
SiobhyB opened this issue Feb 26, 2024 · 2 comments
Open
Labels
[Block] Media & Text Affects the Media & Text Block Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Type] Bug An existing feature does not function as intended

Comments

@SiobhyB
Copy link
Contributor

SiobhyB commented Feb 26, 2024

Description

After adding a video the Media & Text block within the iOS app, a black/empty player will sometimes display with a centred play button. When tapped, an empty player is displayed. The video will display when previewing the site, but not when attempting to work within the editor. It's been possible to reproduce this with private sites.

In Android, a thumbnail of the video will be correctly displayed within the editor.

Step-by-step reproduction instructions

  1. In the iOS app, navigate to a post editor.
  2. Add the Media & Text block.
  3. Upload a video the media section of the block.
  4. Verify that the video is successfully upload and attempt to preview within the editor by tapping the "play" button.

Expected behaviour

I would expect to be able to preview the video within the editor.

Actual behaviour

The video can not be previewed within the editor. Instead, it's necessary to preview the site to verify the video was successfully uploaded to the block.

Device information

  • Device: iPhone XR
  • Operating system: 17.3.1
  • WordPress app version: 24.2
@SiobhyB SiobhyB added [Type] Bug An existing feature does not function as intended Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Block] Media & Text Affects the Media & Text Block labels Feb 26, 2024
@fluiddot
Copy link
Contributor

@SiobhyB I can't reproduce this issue if the site is public. I have the gut feeling that the issue is related to wordpress-mobile/gutenberg-mobile#5497 and private videos. We already solved it for the Video block but we'd also need to address other blocks with videos like Media & Test and Cover. If we confirm that this only happens with private videos, it would be great to update the issue.

@SiobhyB
Copy link
Contributor Author

SiobhyB commented Mar 6, 2024

@fluiddot, I've been able to confirm this is specific to private sites after testing again, thanks for double-checking! I'll go ahead to update this ticket.

@SiobhyB SiobhyB changed the title [RNMobile] Video doesn't play within editor when added via Media & Text block [RNMobile] Media & Text: Video sometimes doesn't play within iOS editor Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Media & Text Affects the Media & Text Block Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants