- π§πͺBelgium Maglor
For all those not getting this URL Embed working: Drupal module CkEditor 5 Media Embed (still in beta) does the trick, with just 1 module! No dependencies, complicated installs or other shenanigans, just right out of the box a ckeditor button that lets you insert youtube, Spotify etc. links and it gives you a responsive media!
Can be found here: https://www.drupal.org/project/ckeditor5_media_embed β
It uses the CkEditor package described (and demo'd) here: https://ckeditor.com/docs/ckeditor5/latest/features/media-embed.html - πΊπΈUnited States mark_fullmer Tucson
Thanks for referencing https://www.drupal.org/project/ckeditor5_media_embed β , which uses CKEditor 5's built-in media plugin.
I think the main difference to note for people coming here is that the above does not support all oEmbed endpoints. There are other considerations, as well:
- Controlling which endpoints are available can be done with url_embed in conjunction with https://www.drupal.org/project/oembed_providers β
- This module (url_embed) also provides a Link field formatterBut if a site just needs the ability to embed YouTube and Vimeo videos through the WYSIWYG, https://www.drupal.org/project/ckeditor5_media_embed β is a great solution!