Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.38k stars 1.97k forks source link

VideoPress: Editing video thumbnail doesn't update the video preview #67819

Open jp-imagines opened 1 year ago

jp-imagines commented 1 year ago

Quick summary

After uploading a video through VideoPress, you can use the Edit Thumbnail option in the Calypso media library to choose a new thumbnail for the image, selecting from the various frames of the video. This seems to sometimes work to update the video thumbnail in the media library, but inserting the video into a post/page does not show the correct (updated) thumbnail in either the editor or the live site.

Steps to reproduce

  1. Upload a video to the media library.
  2. After waiting for it to process, use the Edit Thumbnail option. Select a new thumbnail using the "Select Frame" option.
  3. Add the video to a post or page.

What you expected to happen

The newly selected video thumbnail should display in all locations: the media library, in the editor, and on the live post/page.

What actually happened

The selected video thumbnail seemed to sometimes update in the media library (though sometimes it did not). In the editor, the video displayed with the original thumbnail (when selecting media for the Video block and after inserting). On the live site, the video displays with the original thumbnail.

Context

5557117-zd-woothemes: This user noted that this is relatively new behavior, starting only within the past few months.

Screenshots from before/after updating the thumbnail in the media library on my test site:

Before: upload-video

After: updated-thumbnail

Compare to screenshot below (before applying workaround, still showing the original thumbnail).

Platform (Simple, Atomic, or both?)

Atomic

Theme-specific issue?

No response

Browser, operating system and other notes

No response

Reproducibility

Consistent

Severity

Most (> 50%)

Available workarounds?

Yes, easy to implement

Workaround details

Within the editor, clicking the Remove Poster Image option within the video settings seems to clear the old thumbnail and allow the updated thumbnail to be used: Markup on 2022-09-14 at 11:47:27

Alternatively, a custom thumbnail can be uploaded from the media library (instead of selecting a video frame).

github-actions[bot] commented 1 year ago

Support References

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

zachspears commented 1 year ago

Unable to reproduce, leaving for a second opinion.

rinazrina commented 1 year ago

Another report in #5584694-zen

Shared the workaround.

ClassicRKR27 commented 1 year ago

I suggested that they use the "Upload Image" option; not sure if it worked as they ghosted shortly afterwards, but since it's in a Media & Text block the Remove Poster Image option isn't available at all.