Video file blueprint

Sorry me again!

I am trying to set up a file blueprint to only allow video files, but I am still able to select image files in the panel. This is my file blueprint:

/site/blueprints/files/video.yml

title: Video
accept: 
  mime: video/*
  type: video
fields:
  permalink:
    type: info
    label: Permalink
    text: "{{file.permalink}}"

And this is the field in my block blueprint:

videoFile:
    type: files
    multiple: false
    empty: Select or upload a video file
    label: Video file
    template: video
    uploads: video

I want editors to only be able to select or upload video files for this field. It is working to restrict the uploads to video, but I can select images that have already been uploaded in the panel

A files field doesn’t have a template property, you need to use a query to filter by template.

Ah thank you, I have this now which is doing what I need:

query: page.videos

I wonder where I got template from? Was that ever a thing?!?

Well, template is a property of files sections, it was never valid for the files field. Easy to mix up…