Skip to content

'.mp4' is added to every period in blog posts, after deleting generated video + thumbnail  #545

@bluebyte85

Description

@bluebyte85

Description:

In all blog posts, a '.mp4' extension is being appended to every period. This causes:

  • Videos to appear with a double extension, e.g., 'xyz.mp4.mp4'.
  • Images to show as '.jpg.mp4'
  • Standard text to have the '.mp4' extension, e.g., 'Lorem ipsum dolor.mp4 Sit amet dolor lorem ipsum.mp4'.
  • Comments are not affected by this issue.

Cause:

The issue seems to occur because the encoded video and thumbnail are being deleted immediately after the job is processed in the Videopack queue.

Expected behavior:

The video and thumbnail are being deleted correctly. There should be no '.mp4' extension appended to other content at all.

Steps to reproduce:

  1. Upload a video and process it using Videopack.
  2. Wait until the video is processed in the queue and the status is 'completed‘
  3. Open the media library and delete the generated video an it’s thumbnail immediately after processing has finished
  4. Go to videopack-queue – the processed video has no name, image etc. (see screenshot)
  5. Go to the website an check posts for '.mp4' extension in text6.

Environment:

  • WordPress version: 6.6.2
  • Plugin version: 4.10.2
    -- See config on screenshot
    -- See videopack-queue on screenshot
  • PHP version: 8.1.29

videopack-queue
videopack-config

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions