We're switching from video_embed_field to Drupal core "oembed" functionality for YouTube videos:
https://github.com/CU-CommunityApps/cd_drupal_upstream/issues/42
- Work in progress on "video" multidev of the upstream demo site.
- Demo page with inline oembed video, for testing this cwd_base work:
Accompanying tasks for our Drupal base theme -- can happen any time (no need to wait for the cd_drupal_upstream issue to be complete):
iframe.media-oembed-content {
display: block;
width: 100%;
height: auto;
aspect-ratio: 16 / 9;
}
FWIW: This work is already happening on VPUE (as of 2023-09-13, the oembed field template is done, the style rule will be done soon).
We're switching from video_embed_field to Drupal core "oembed" functionality for YouTube videos:
https://github.com/CU-CommunityApps/cd_drupal_upstream/issues/42
field--field-media-oembed-video.html.twigis already in use on that multidev)Accompanying tasks for our Drupal base theme -- can happen any time (no need to wait for the cd_drupal_upstream issue to be complete):
field--field-media-oembed-video.html.twig-- simply to use_field--less-wrapped.html.twig(same as field--image.html.twig).FWIW: This work is already happening on VPUE (as of 2023-09-13, the oembed field template is done, the style rule will be done soon).