Video block layout field error

Hi

I’m getting an error when I’m clicking on “video” to chose a block type, and then I get :

this.$refs[("block-" + t.id)][0] is undefined

I’ve build a layout field

  layout:
    type: layout
    layouts:
      - "1/1"
      - "1/2, 1/2"
      - "1/3, 1/3, 1/3"
      - "1/4, 1/4, 1/4, 1/4"
    fieldsets:
      - image
      - video

and this is my video blueprint

name: field.blocks.video.name
icon: video
preview: video
fields:

  video:
    label: Vidéo
    type: files
    multiple: false
    image:
      back: black

  poster:
    label: Poster vidéo
    type: files
    multiple: false
    image:
      back: black
      
  legende:
    label: Légende
    type: textarea
    buttons:
      - italic
      - link
      - email

Do you know what did I do wrong ?

To use the video preview you need inputs compatible with the core video block. So you need to use url field for video preview.

Otherwise, you have to create a custom video preview for your video file.

Definitely! + You can take a look at this document: