Skip to content

Video Seek Functionality Not Working with Upload Field #11093

Closed
@peterkunsay

Description

@peterkunsay

Describe the Bug

Hello,

First of all, thank you for Payload 3. It's a very nice update!

Unfortunately, I encountered a bug with the Upload Field when using it for videos. When a video is serialized (e.g., inside rich text via custom converter), the video is displayed correctly on the website; however, the seek functionality is broken. Whenever you try to jump to a different timestamp in the video, it always jumps back to the current playback location. This occurs with the vanilla video player, and I also experienced the same issue with next-video.
I suspect there might be an issue with the upload itself, possibly related to metadata?

This issue has already been discussed on Payload's Discord:
https://discord.com/channels/967097582721572934/1302281442465939477

The reproduction repo I included clearly demonstrates the issue.

Keep up the good work!

Link to the code that reproduces this issue

https://github.com/peterkunsay/payload-video-upload-seek-bug-reproduction/tree/main

Reproduction Steps

  • Upload video using upload field
  • Serialize it in some way
  • Try to jump to any location in the video timestamp

Which area(s) are affected? (Select all that apply)

plugin: richtext-lexical, plugin: other

Environment Info

Used pnpx create-payload-app@latest -t blank

Binaries:
  Node: 20.9.0
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 15.1.5
  @payloadcms/richtext-lexical: 3.22.0
  @payloadcms/translations: 3.22.0
  react: 19.0.0
  react-dom: 19.0.0
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Pro
  Available memory (MB): 65292
  Available CPU cores: 32

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions