Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

I want to preview image/video like notion.

default discord avatar
anisulislampranto2 years ago
2

So the default way after uploading image video is good but I want more. I want it to be bigger and in the case of video, I should be able to play it. Example: In notion when we upload something the way it previews I want it that way.

  • default discord avatar
    notchr2 years ago

    Hello

    @854751864707874817

    - You could write a basic

    https://payloadcms.com/docs/admin/components#fields

    component to display the field as a video widget of your choice where you pass the value to the widget

  • default discord avatar
    anisulislampranto2 years ago

    got the solution. thanks

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.