Commit 4f7737de authored by Lily Yan's avatar Lily Yan
Browse files

Merge branch 'feature/ISTWCMS-4472-kpaxman-add_banner' into '8.x-1.x'

Add media options for banner

See merge request !3
parents 28fd0fda 9b90ca14
langcode: en
status: true
dependencies:
config:
- field.field.media.uw_mt_local_video.field_media_file
- media.type.uw_mt_local_video
module:
- file
- path
id: media.uw_mt_local_video.default
targetEntityType: media
bundle: uw_mt_local_video
mode: default
content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_media_file:
weight: 0
settings:
progress_indicator: throbber
third_party_settings: { }
type: file_generic
region: content
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
third_party_settings: { }
name:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 100
region: content
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
match_limit: 10
region: content
third_party_settings: { }
hidden: { }
langcode: en
status: true
dependencies:
config:
- core.entity_form_mode.media.media_library
- field.field.media.uw_mt_local_video.field_media_file
- media.type.uw_mt_local_video
id: media.uw_mt_local_video.media_library
targetEntityType: media
bundle: uw_mt_local_video
mode: media_library
content:
name:
type: string_textfield
settings:
size: 60
placeholder: ''
weight: 0
third_party_settings: { }
region: content
hidden:
created: true
field_media_file: true
langcode: true
path: true
status: true
uid: true
langcode: en
status: true
dependencies:
config:
- field.field.media.uw_mt_vimeo_banner_video.field_media_oembed_video
- media.type.uw_mt_vimeo_banner_video
module:
- media
- path
id: media.uw_mt_vimeo_banner_video.default
targetEntityType: media
bundle: uw_mt_vimeo_banner_video
mode: default
content:
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
field_media_oembed_video:
type: oembed_textfield
weight: 0
settings:
size: 60
placeholder: ''
third_party_settings: { }
region: content
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 100
region: content
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
match_limit: 10
region: content
third_party_settings: { }
hidden:
name: true
langcode: en
status: true
dependencies:
config:
- core.entity_form_mode.media.media_library
- field.field.media.uw_mt_vimeo_banner_video.field_media_oembed_video
- media.type.uw_mt_vimeo_banner_video
id: media.uw_mt_vimeo_banner_video.media_library
targetEntityType: media
bundle: uw_mt_vimeo_banner_video
mode: media_library
content:
name:
type: string_textfield
settings:
size: 60
placeholder: ''
weight: 0
third_party_settings: { }
region: content
hidden:
created: true
field_media_oembed_video: true
langcode: true
path: true
status: true
uid: true
langcode: en
status: true
dependencies:
config:
- field.field.media.uw_mt_local_video.field_media_file
- media.type.uw_mt_local_video
module:
- fences
- file
id: media.uw_mt_local_video.default
targetEntityType: media
bundle: uw_mt_local_video
mode: default
content:
field_media_file:
type: file_video
label: visually_hidden
weight: 0
settings:
controls: true
multiple_file_display_type: tags
width: 640
height: 480
autoplay: false
loop: false
muted: false
third_party_settings:
fences:
fences_field_tag: none
fences_field_classes: ''
fences_field_item_tag: none
fences_field_item_classes: ''
fences_label_tag: none
fences_label_classes: ''
region: content
hidden:
created: true
langcode: true
name: true
thumbnail: true
uid: true
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.media_library
- field.field.media.uw_mt_local_video.field_media_file
- image.style.medium
- media.type.uw_mt_local_video
module:
- image
id: media.uw_mt_local_video.media_library
targetEntityType: media
bundle: uw_mt_local_video
mode: media_library
content:
thumbnail:
type: image
label: hidden
settings:
image_style: medium
image_link: ''
weight: 0
third_party_settings: { }
region: content
hidden:
created: true
field_media_file: true
langcode: true
name: true
uid: true
langcode: en
status: true
dependencies:
config:
- field.field.media.uw_mt_vimeo_banner_video.field_media_oembed_video
- media.type.uw_mt_vimeo_banner_video
module:
- media
id: media.uw_mt_vimeo_banner_video.default
targetEntityType: media
bundle: uw_mt_vimeo_banner_video
mode: default
content:
field_media_oembed_video:
type: oembed
label: visually_hidden
weight: 0
settings:
max_width: 0
max_height: 0
third_party_settings: { }
region: content
hidden:
created: true
langcode: true
name: true
thumbnail: true
uid: true
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.media_library
- field.field.media.uw_mt_vimeo_banner_video.field_media_oembed_video
- image.style.medium
- media.type.uw_mt_vimeo_banner_video
module:
- image
id: media.uw_mt_vimeo_banner_video.media_library
targetEntityType: media
bundle: uw_mt_vimeo_banner_video
mode: media_library
content:
thumbnail:
type: image
label: hidden
settings:
image_style: medium
image_link: ''
weight: 0
third_party_settings: { }
region: content
hidden:
created: true
field_media_oembed_video: true
langcode: true
name: true
uid: true
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_file
- media.type.uw_mt_local_video
module:
- file
- require_on_publish
third_party_settings:
require_on_publish:
require_on_publish: false
id: media.uw_mt_local_video.field_media_file
field_name: field_media_file
entity_type: media
bundle: uw_mt_local_video
label: 'Video file'
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings:
file_directory: uploads/videos
file_extensions: mp4
max_filesize: 3MB
description_field: true
handler: 'default:file'
handler_settings: { }
field_type: file
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_oembed_video
- media.type.uw_mt_vimeo_banner_video
id: media.uw_mt_vimeo_banner_video.field_media_oembed_video
field_name: field_media_oembed_video
entity_type: media
bundle: uw_mt_vimeo_banner_video
label: 'Remote video URL'
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
langcode: en
status: true
dependencies:
config:
- media.type.uw_mt_local_video
id: media.uw_mt_local_video
target_entity_type_id: media
target_bundle: uw_mt_local_video
default_langcode: site_default
language_alterable: false
langcode: en
status: true
dependencies:
config:
- media.type.uw_mt_vimeo_banner_video
id: media.uw_mt_vimeo_banner_video
target_entity_type_id: media
target_bundle: uw_mt_vimeo_banner_video
default_langcode: site_default
language_alterable: false
langcode: en
status: true
dependencies:
module:
- entity_browser_block_layout
third_party_settings:
entity_browser_block_layout:
entity_browser_block_layout_view_modes:
default: default
full: 0
media_library: 0
token: 0
uw_vm_standard_image: 0
id: uw_mt_local_video
label: 'Local video'
description: 'A small filesize, locally-stored MP4 video that can be embedded in content.'
source: video_file
queue_thumbnail_downloads: false
new_revision: false
source_configuration:
source_field: field_media_file
field_map: { }
langcode: en
status: true
dependencies:
module:
- entity_browser_block_layout
third_party_settings:
entity_browser_block_layout:
entity_browser_block_layout_view_modes:
default: default
full: 0
media_library: 0
token: 0
uw_vm_standard_image: 0
id: uw_mt_vimeo_banner_video
label: 'Vimeo banner video'
description: 'A Vimeo video from an account with the appropriate permissions to embed videos in a way that can be used for an autoplaying video banner.'
source: 'oembed:video'
queue_thumbnail_downloads: false
new_revision: false
source_configuration:
thumbnails_directory: 'public://oembed_thumbnails'
providers:
- Vimeo
source_field: field_media_oembed_video
field_map: { }
name: 'UW media'
description: 'UW media settings and configuration'
type: module
core_version_requirement: ^8 || ^9
core_version_requirement: '^8 || ^9'
dependencies:
- drupal:crop
- drupal:entity_browser
......
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