79 lines
2.3 KiB
YAML
79 lines
2.3 KiB
YAML
name: YouTube Consent
|
|
slug: youtubeconsent
|
|
type: plugin
|
|
version: 0.0.1
|
|
description: Registers the new [youtube] shortcode to embed YouTube videos in a privacy-friendly manner.
|
|
icon: code
|
|
author:
|
|
name: Thorsten Dittmar
|
|
email: support@dithosoft.de
|
|
homepage: https://gitea.dithosoft.de/thorsten/grav-youtubeconsent-plugin.git
|
|
keywords: grav, plugin, shortcode, youtube, privacy
|
|
bugs: https://gitea.dithosoft.de/thorsten/grav-youtubeconsent-plugin.git/issues
|
|
docs: https://gitea.dithosoft.de/thorsten/grav-youtubeconsent-plugin/src/branch/main/README.md
|
|
license: MIT
|
|
|
|
dependencies:
|
|
- { name: grav, version: '>=1.7.0' }
|
|
- shortcode-core
|
|
|
|
form:
|
|
validation: strict
|
|
fields:
|
|
enabled:
|
|
type: toggle
|
|
label: PLUGIN_ADMIN.PLUGIN_STATUS
|
|
highlight: 1
|
|
default: 0
|
|
options:
|
|
1: PLUGIN_ADMIN.ENABLED
|
|
0: PLUGIN_ADMIN.DISABLED
|
|
validate:
|
|
type: bool
|
|
default_width:
|
|
label: PLUGIN_YOUTUBECONSENT.DEFAULT_WIDTH
|
|
help: PLUGIN_YOUTUBECONSENT.DEFAULT_WIDTH_HELP
|
|
type: number
|
|
validate:
|
|
min: 0
|
|
size: small
|
|
default_height:
|
|
label: PLUGIN_YOUTUBECONSENT.DEFAULT_HEIGHT
|
|
help: PLUGIN_YOUTUBECONSENT.DEFAULT_HEIGHT_HELP
|
|
type: number
|
|
validate:
|
|
min: 0
|
|
size: small
|
|
default_quality:
|
|
type: text
|
|
default: 'hd1080'
|
|
label: PLUGIN_YOUTUBECONSENT.DEFAULT_QUALITY
|
|
help: PLUGIN_YOUTUBECONSENT.DEFAULT_QUALITY_HELP
|
|
notice_background:
|
|
type: text
|
|
default: '#FFFFFF'
|
|
label: PLUGIN_YOUTUBECONSENT.NOTICE_BACKGROUND
|
|
help: PLUGIN_YOUTUBECONSENT.NOTICE_BACKGROUND_HELP
|
|
notice_foreground:
|
|
type: text
|
|
default: '#333333'
|
|
label: PLUGIN_YOUTUBECONSENT.NOTICE_FOREGROUND
|
|
help: PLUGIN_YOUTUBECONSENT.NOTICE_FOREGROUND_HELP
|
|
accept_link_class:
|
|
type: text
|
|
default: button
|
|
label: PLUGIN_YOUTUBECONSENT.ACCEPT_LINK_CLASS
|
|
help: PLUGIN_YOUTUBECONSENT.ACCEPT_LINK_CLASS_HELP
|
|
notice_text:
|
|
type: text
|
|
label: PLUGIN_YOUTUBECONSENT.NOTICE_TEXT
|
|
help: PLUGIN_YOUTUBECONSENT.NOTICE_TEXT_HELP
|
|
accept_text:
|
|
type: text
|
|
label: PLUGIN_YOUTUBECONSENT.ACCEPT_TEXT
|
|
help: PLUGIN_YOUTUBECONSENT.ACCEPT_TEXT_HELP
|
|
accept_all_text:
|
|
type: text
|
|
label: PLUGIN_YOUTUBECONSENT.ACCEPT_ALL_TEXT
|
|
help: PLUGIN_YOUTUBECONSENT.ACCEPT_ALL_TEXT_HELP
|