X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Fmedia%2Fconfig%2Fschema%2Fmedia.schema.yml;fp=web%2Fcore%2Fmodules%2Fmedia%2Fconfig%2Fschema%2Fmedia.schema.yml;h=f78793b094a4796014e9e216162528b246edf03a;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=b9156b23f86c675750d23af16fd29f51a00fd8d9;hpb=74df008bdbb3a11eeea356744f39b802369bda3c;p=yaffs-website diff --git a/web/core/modules/media/config/schema/media.schema.yml b/web/core/modules/media/config/schema/media.schema.yml index b9156b23f..f78793b09 100644 --- a/web/core/modules/media/config/schema/media.schema.yml +++ b/web/core/modules/media/config/schema/media.schema.yml @@ -5,6 +5,12 @@ media.settings: icon_base_uri: type: string label: 'Full URI to a folder where the media icons will be installed' + iframe_domain: + type: uri + label: 'Domain from which to serve oEmbed content in an iframe' + oembed_providers_url: + type: uri + label: 'The URL of the oEmbed providers database in JSON format' media.type.*: type: config_entity @@ -40,6 +46,21 @@ field.formatter.settings.media_thumbnail: type: field.formatter.settings.image label: 'Media thumbnail field display format settings' +field.formatter.settings.oembed: + type: mapping + label: 'oEmbed display format settings' + mapping: + max_width: + type: integer + label: 'Maximum width' + max_height: + type: integer + label: 'Maximum height' + +field.widget.settings.oembed_textfield: + type: field.widget.settings.string_textfield + label: 'oEmbed widget format settings' + media.source.*: type: mapping label: 'Media source settings' @@ -60,6 +81,20 @@ media.source.video_file: type: media.source.field_aware label: '"Video" media source configuration' +media.source.oembed:*: + type: media.source.field_aware + label: 'oEmbed media source configuration' + mapping: + thumbnails_directory: + type: uri + label: 'URI of thumbnail storage directory' + providers: + type: sequence + label: 'Allowed oEmbed providers' + sequence: + type: string + label: 'Provider name' + media.source.field_aware: type: mapping mapping: