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

Empty state when using source URL of VideoPress vide in v5 block #6670

Closed
SiobhyB opened this issue Feb 23, 2024 · 0 comments · Fixed by Automattic/jetpack#35957
Closed

Empty state when using source URL of VideoPress vide in v5 block #6670

SiobhyB opened this issue Feb 23, 2024 · 0 comments · Fixed by Automattic/jetpack#35957
Assignees
Labels
Jetpack Bug or feature related to Jetpack [Type] Bug Something isn't working Video block

Comments

@SiobhyB
Copy link
Contributor

SiobhyB commented Feb 23, 2024

Describe the bug

There exists an edge case in the VideoPress v5 block, where the block can be falsely rendered empty. This happens after inserting the source of a VideoPress URL. This is rendered properly on the web version, but not in native where it's displayed as empty. First reported by @fluiddot here.

To Reproduce

  1. Copy the following URL: https://videos.files.wordpress.com/qDiVCMnq/0e2809330-1-2.mp4. This URL was obtained by getting the download URL from the VideoPress player.
  2. Create a post in a Simple site.
  3. Add a Video block.
  4. Insert the copied URL.
  5. Observe that the video can be played within the editor.
  6. Save the post and open it again.
  7. Observe that the post is marked as dirty. In this step, the video URL changed to the regular VideoPress URL.
  8. Save the post and open it again.
  9. Observe that the block is in the empty state.
  10. Preview the post.
  11. Observe that the video can be played.

Expected behavior

The video should render as expected in the editor, as it does on the web.

Screenshots

Simulator.Screen.Recording.-.iPhone.15.-.2024-02-23.at.17.05.04.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Jetpack Bug or feature related to Jetpack [Type] Bug Something isn't working Video block
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant