diff --git a/.forestry/front_matter/templates/single.yml b/.forestry/front_matter/templates/single.yml index 048f4b75e73caaca1ee601f36ec6ded783f218b4..b3550c5a4d3a1ebab0328b419b17c51c5d488ebd 100644 --- a/.forestry/front_matter/templates/single.yml +++ b/.forestry/front_matter/templates/single.yml @@ -179,6 +179,36 @@ fields: showOnly: field: type value: overlay + - name: video + type: field_group + config: {} + fields: + - name: id + type: text + config: + required: false + label: Identifiant de la vidéo + description: Par exemple https://www.youtube.com/watch?v=**rKNMf4LFX44** (mettre + uniquement la partie en gras) + - name: provider + type: select + default: youtube + config: + required: false + options: + - youtube + - vimeo + - google-drive + source: + type: simple + section: + file: + path: + label: Fournisseur + label: Vidéo + showOnly: + field: type + value: video label: Entête showOnly: field: has_header