Video:It is not render, when I add a video from “Insert Via URL ”
Description
Video:It is not render, when I add a video from “Insert Via URL ”。The reason almost like isUpload prop is falsy
Reproduction URL
No response
Reproduction steps
1. Go to 'fixed-toolbar'
2. Click on 'video->Insert Via URL'
3. Input 'a video url'
4. See problem
Plate version
v49
Slate React version
0.112
Screenshots
Logs
Browsers
No response
This happens because Plate only renders videos if the isUpload prop is true, which is meant for uploaded files. When you use "Insert Via URL", isUpload is falsy, so the video doesn't render by default. This is a design choice—Plate treats plain URLs as links unless you use the embed workflow or add a custom parser/plugin for auto-embedding.
To fix this, you can either modify your video node to set isUpload: true when inserting via URL, or adjust your rendering/component logic to allow videos with just a url (without requiring isUpload). For more advanced use cases, you can add custom URL parsers to the media-embed plugin to support more embed types and providers. See more details in the docs and discussion.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other