Commit a9d3f0ab authored by xjm's avatar xjm

Issue #2934962 by starshaped, xjm: Ship local audio and video media types in Standard

parent 3d0e79f2
langcode: en
status: true
dependencies:
config:
- field.field.media.audio.field_media_audio_file
- media.type.audio
module:
- file
- path
id: media.audio.default
targetEntityType: media
bundle: audio
mode: default
content:
created:
type: datetime_timestamp
weight: 3
region: content
settings: { }
third_party_settings: { }
field_media_audio_file:
weight: 1
settings:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
name:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
path:
type: path
weight: 4
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 5
region: content
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 2
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
region: content
third_party_settings: { }
hidden: { }
langcode: en
status: true
dependencies:
config:
- field.field.media.video.field_media_video_file
- media.type.video
module:
- file
- path
id: media.video.default
targetEntityType: media
bundle: video
mode: default
content:
created:
type: datetime_timestamp
weight: 3
region: content
settings: { }
third_party_settings: { }
field_media_video_file:
weight: 1
settings:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
name:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
path:
type: path
weight: 4
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 5
region: content
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 2
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
region: content
third_party_settings: { }
hidden: { }
langcode: en
status: true
dependencies:
config:
- field.field.media.audio.field_media_audio_file
- image.style.thumbnail
- media.type.audio
module:
- file
- image
- user
id: media.audio.default
targetEntityType: media
bundle: audio
mode: default
content:
created:
label: hidden
type: timestamp
weight: 0
region: content
settings:
date_format: medium
custom_date_format: ''
timezone: ''
third_party_settings: { }
field_media_audio_file:
type: file_audio
weight: 6
label: above
settings:
controls: true
autoplay: false
loop: false
multiple_file_display_type: tags
third_party_settings: { }
region: content
thumbnail:
type: image
weight: 5
label: hidden
settings:
image_style: thumbnail
image_link: ''
region: content
third_party_settings: { }
uid:
label: hidden
type: author
weight: 0
region: content
settings: { }
third_party_settings: { }
hidden:
name: true
langcode: en
status: true
dependencies:
config:
- field.field.media.video.field_media_video_file
- image.style.thumbnail
- media.type.video
module:
- file
- image
- user
id: media.video.default
targetEntityType: media
bundle: video
mode: default
content:
created:
label: hidden
type: timestamp
weight: 0
region: content
settings:
date_format: medium
custom_date_format: ''
timezone: ''
third_party_settings: { }
field_media_video_file:
type: file_video
weight: 6
label: above
settings:
muted: false
width: 640
height: 480
controls: true
autoplay: false
loop: false
multiple_file_display_type: tags
third_party_settings: { }
region: content
thumbnail:
type: image
weight: 5
label: hidden
settings:
image_style: thumbnail
image_link: ''
region: content
third_party_settings: { }
uid:
label: hidden
type: author
weight: 0
region: content
settings: { }
third_party_settings: { }
hidden:
name: true
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_audio_file
- media.type.audio
module:
- file
id: media.audio.field_media_audio_file
field_name: field_media_audio_file
entity_type: media
bundle: audio
label: 'Audio file'
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings:
file_extensions: 'mp3 wav aac'
file_directory: '[date:custom:Y]-[date:custom:m]'
max_filesize: ''
description_field: false
handler: 'default:file'
handler_settings: { }
field_type: file
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_video_file
- media.type.video
module:
- file
id: media.video.field_media_video_file
field_name: field_media_video_file
entity_type: media
bundle: video
label: 'Video file'
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings:
file_extensions: mp4
file_directory: '[date:custom:Y]-[date:custom:m]'
max_filesize: ''
description_field: false
handler: 'default:file'
handler_settings: { }
field_type: file
langcode: en
status: true
dependencies:
module:
- file
- media
id: media.field_media_audio_file
field_name: field_media_audio_file
entity_type: media
type: file
settings:
target_type: file
display_field: false
display_default: false
uri_scheme: public
module: file
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
langcode: en
status: true
dependencies:
module:
- file
- media
id: media.field_media_video_file
field_name: field_media_video_file
entity_type: media
type: file
settings:
target_type: file
display_field: false
display_default: false
uri_scheme: public
module: file
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
langcode: en
status: true
dependencies: { }
id: audio
label: Audio
description: 'A locally hosted audio file.'
source: audio_file
queue_thumbnail_downloads: false
new_revision: true
source_configuration:
source_field: field_media_audio_file
field_map: { }
langcode: en
status: true
dependencies: { }
id: video
label: Video
description: 'A locally hosted video file.'
source: video_file
queue_thumbnail_downloads: false
new_revision: true
source_configuration:
source_field: field_media_video_file
field_map: { }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment