Skip to content

VideoPress: Recently uploaded private video thumbnails result in a 404 error #39524

Open
@ivan-ottinger

Description

Image

There are two related issues:

  1. When saving the new thumbnail for a video, the old thumbnail displays for a second
  2. When reloading the page shortly after clicking the Save changes button, the process gets interrupted and results in the 404 of the thumbnail image.

I would say that fixing the issue 1 might reduce the occurrence of the issue 2 - because I can imagine that when the user sees the old thumbnail in there after saving the changes, they may want to reload the page quickly - which then triggers the issue 2.

To fix the issue 2, I think we may need to review the logic that changes the thumbnail and make sure that if the process is interrupted at any point, we will fall back to the original thumbnail.

Steps to reproduce:

We were able to reproduce the issue on a Jurassic Ninja site.

  1. Navigate to Jetpack > VideoPress.
  2. Upload a new video and open it by clicking on the Edit video details button.
  3. Make the video private.
  4. Choose a custom thumbnail for it and then while the changes are being saved, quickly reload the page.
  5. You should be able to observe both issues described in this issue.

Related discussion: p1726809473248039-slack-C02LT75D3.
Similar issue: #27169.

Metadata

Assignees

Labels

Build MaintenanceBuild Group maintenance tasksTriaged[Feature] VideoPressA feature to help you upload and insert videos on your site.[Plugin] VideoPressA standalone plugin to add high-quality VideoPress videos to your site.[Type] BugWhen a feature is broken and / or not performing as intended

Type

No type

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions