Skip to content

Commit

Permalink
Previewfix4 (#49)
Browse files Browse the repository at this point in the history
* fixes preview display and changes form display

* removes config and updates one other file

* fixes broken config and updates image style to use existing

* fixes remote vide display and media collection form preview

---------

Co-authored-by: “Kerry <“[email protected]”>
  • Loading branch information
kmurphychi247 and “Kerry authored Aug 20, 2024
1 parent b713e61 commit 105f8b2
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dependencies:
- paragraphs.paragraphs_type.media_collection
module:
- field_group
- media_library
- text
third_party_settings:
field_group:
Expand All @@ -24,7 +25,7 @@ third_party_settings:
label: Layout
region: content
parent_name: ''
weight: 4
weight: 7
format_type: details
format_settings:
classes: ''
Expand All @@ -41,7 +42,7 @@ mode: preview
content:
sa_container:
type: options_select
weight: 7
weight: 3
region: content
settings: { }
third_party_settings: { }
Expand Down Expand Up @@ -71,23 +72,20 @@ content:
third_party_settings: { }
sa_margin:
type: options_select
weight: 8
weight: 4
region: content
settings: { }
third_party_settings: { }
sa_media_multiple:
type: entity_reference_autocomplete
weight: 3
type: media_library_widget
weight: 6
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
media_types: { }
third_party_settings: { }
sa_padding:
type: options_select
weight: 9
weight: 5
region: content
settings: { }
third_party_settings: { }
Expand Down
31 changes: 31 additions & 0 deletions config/core.entity_view_display.media.remote_video.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
langcode: en
status: true
dependencies:
config:
- field.field.media.remote_video.field_media_oembed_video
- field.field.media.remote_video.sa_caption
- media.type.remote_video
module:
- lite_youtube_embed
id: media.remote_video.default
targetEntityType: media
bundle: remote_video
mode: default
content:
field_media_oembed_video:
type: lite_youtube_embed
label: hidden
settings:
max_width: 0
max_height: 0
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
langcode: true
name: true
sa_caption: true
search_api_excerpt: true
thumbnail: true
uid: true

0 comments on commit 105f8b2

Please sign in to comment.