1media.settings:
2  type: config_object
3  label: 'Media settings'
4  mapping:
5    icon_base_uri:
6      type: string
7      label: 'Full URI to a folder where the media icons will be installed'
8    iframe_domain:
9      type: uri
10      label: 'Domain from which to serve oEmbed content in an iframe'
11    oembed_providers_url:
12      type: uri
13      label: 'The URL of the oEmbed providers database in JSON format'
14    standalone_url:
15      type: boolean
16      label: 'Allow media items to be viewed standalone at /media/{id}'
17
18media.type.*:
19  type: config_entity
20  label: 'Media type'
21  mapping:
22    id:
23      type: string
24      label: 'Machine name'
25    label:
26      type: label
27      label: 'Name'
28    description:
29      type: text
30      label: 'Description'
31    source:
32      type: string
33      label: 'Source'
34    source_configuration:
35      type: media.source.[%parent.source]
36    queue_thumbnail_downloads:
37      type: boolean
38      label: 'Whether the thumbnail downloads should be queued'
39    new_revision:
40      type: boolean
41      label: 'Whether a new revision should be created by default'
42    field_map:
43      type: sequence
44      label: 'Field map'
45      sequence:
46        type: string
47
48field.formatter.settings.media_thumbnail:
49  type: field.formatter.settings.image
50  label: 'Media thumbnail field display format settings'
51
52field.formatter.settings.oembed:
53  type: mapping
54  label: 'oEmbed display format settings'
55  mapping:
56    max_width:
57      type: integer
58      label: 'Maximum width'
59    max_height:
60      type: integer
61      label: 'Maximum height'
62
63field.widget.settings.oembed_textfield:
64  type: field.widget.settings.string_textfield
65  label: 'oEmbed widget format settings'
66
67media.source.*:
68  type: mapping
69  label: 'Media source settings'
70
71media.source.file:
72  type: media.source.field_aware
73  label: '"File" media source configuration'
74
75media.source.image:
76  type: media.source.field_aware
77  label: '"Image" media source configuration'
78
79media.source.audio_file:
80  type: media.source.field_aware
81  label: '"Audio" media source configuration'
82
83media.source.video_file:
84  type: media.source.field_aware
85  label: '"Video" media source configuration'
86
87media.source.oembed:*:
88  type: media.source.field_aware
89  label: 'oEmbed media source configuration'
90  mapping:
91    thumbnails_directory:
92      type: uri
93      label: 'URI of thumbnail storage directory'
94    providers:
95      type: sequence
96      label: 'Allowed oEmbed providers'
97      sequence:
98        type: string
99        label: 'Provider name'
100
101media.source.field_aware:
102  type: mapping
103  mapping:
104    source_field:
105      type: string
106      label: 'Source field'
107
108filter_settings.media_embed:
109  type: filter
110  label: 'Media Embed'
111  mapping:
112    default_view_mode:
113      type: string
114      label: 'The view mode that is used by default'
115    allowed_media_types:
116      type: sequence
117      label: 'Media types selectable in the Media Library'
118      sequence:
119        type: string
120        label: 'Media type'
121    allowed_view_modes:
122      type: sequence
123      label: 'View modes selectable in the "Edit media" dialog'
124      sequence:
125        type: string
126        label: 'View mode'
127