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

VideoPress: Left- or right-aligned videos have a width and height of 0 #41517

Open
jp-imagines opened this issue Feb 3, 2025 · 1 comment
Open
Assignees
Labels
Customer Report Issues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report" [Feature] VideoPress A feature to help you upload and insert videos on your site. [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Plugin] VideoPress A standalone plugin to add high-quality VideoPress videos to your site. [Pri] High [Status] Auto-allocated [Status] Escalated to Product Ambassadors [Status] Priority Review Triggered The guild in charge of triage has been notified of this issue in Slack Triaged [Type] Bug When a feature is broken and / or not performing as intended

Comments

@jp-imagines
Copy link

jp-imagines commented Feb 3, 2025

Impacted plugin

Jetpack, VideoPress

Quick summary

Very similar behavior to #39354 (VideoPress blocks in a Stack block) and Automattic/wp-calypso#98355 (VideoPress blocks in a Row block). When the "align left" or "align right" options are selected, the video iframe is forced to a width and height of 0, making the video not render on the live site.

Initial report here: 9364721-zd-a8c

Steps to reproduce

Steps to reproduce:

  1. Create a new page/post.
  2. Insert a VideoPress block and upload or insert a video.
  3. In the block toolbar, change the block's alignment to "align left" or "align right."

What I expected:

The video should be aligned to the left/right of other content, as it is in the editor.

What actually happens:

The video's iframe element has width and height attributes forcefully set to 0, so the video does not display on the live site.

Image

Site owner impact

Between 20% and 60% of the total website/platform users

Severity

Major

What other impact(s) does this issue have?

No response

If a workaround is available, please outline it here.

Columns blocks can be used to achieve a similar alignment without using the "align left"/"align right" settings.

Platform (Simple and/or Atomic)

Atomic

@jp-imagines jp-imagines added [Feature] VideoPress A feature to help you upload and insert videos on your site. [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Type] Bug When a feature is broken and / or not performing as intended Needs triage Ticket needs to be triaged labels Feb 3, 2025
@matticbot matticbot added [Status] Priority Review Triggered The guild in charge of triage has been notified of this issue in Slack [Status] Auto-allocated labels Feb 3, 2025
@github-actions github-actions bot added [Status] Escalated to Product Ambassadors [Plugin] VideoPress A standalone plugin to add high-quality VideoPress videos to your site. [Pri] High labels Feb 3, 2025
Copy link
Contributor

github-actions bot commented Feb 3, 2025

Support References

This comment is automatically generated. Please do not edit it.

  • 9364721-zen

@github-actions github-actions bot added the Customer Report Issues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report" label Feb 3, 2025
@jeherve jeherve added Triaged and removed Needs triage Ticket needs to be triaged labels Feb 4, 2025
@jeherve jeherve moved this from Needs Triage to Triaged in Automattic Prioritization: The One Board ™ Feb 4, 2025
@phcp phcp self-assigned this Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Customer Report Issues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report" [Feature] VideoPress A feature to help you upload and insert videos on your site. [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Plugin] VideoPress A standalone plugin to add high-quality VideoPress videos to your site. [Pri] High [Status] Auto-allocated [Status] Escalated to Product Ambassadors [Status] Priority Review Triggered The guild in charge of triage has been notified of this issue in Slack Triaged [Type] Bug When a feature is broken and / or not performing as intended
Projects
Development

No branches or pull requests

4 participants