You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(i.e. you can see field--field-media-oembed-video.html.twig is 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):
Remove extra "div" wrapper from video embed field output:
Create field--field-media-oembed-video.html.twig -- simply to use _field--less-wrapped.html.twig (same as field--image.html.twig).
Configure view modes (on CLASSE and VPUE and CVM, we provided "default" and "medium sized") -- THEN, check text formats and make sure "video"/"remote video" is enabled, and the "default" and "medium" view modes are available.
In theory, can skip this on CD Demo, and just do it on sites that use this functionality -- they can copy the view mode and CKEditor settings CLASSE/VPUE.
Don't forget to make sure Media Library "advanced UI" is enabled: /admin/config/media/media-library
Aspect ratio issue on d.o is still open, but when I put videos on the under-development CLASSE site, they seem okay?? -- bottom of this demo page: https://dev-classe.pantheonsite.io/about
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.twig
is 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).
The text was updated successfully, but these errors were encountered: