You are here

The Legendary Drupal 8 Media Library Unicorn

This site is for archival purposes only. 

Find out what is happening with the Twin Cities Drupal User Group at https://tcdrupal.org/

Track: 
Site Building
Experience Level: 
Beginner
Timeslot: 
Saturday, 1:00pm - 2:00pm
Session Length: 
60 minutes

The Legendary Drupal 8 Media Library Unicorn

This session concentrates on one specific approach to hunting down and taming the mythical unicorn of responsive, fieldable, embeddable, storable media in a Drupal 8 composer-based non-distribution site.  How's that for a mouthful!

The examples I'll share are for anyone who wants a media library for their Drupal 8 site and could use a bit of help with figuring out a viable approach, those who have an media strategy implemented and are looking for something better or simply want to see how their build compares, or anyone who loves the 80s.

Attendees will be instructed in setting up a media library using the entity browser and associated modules. Media entity reference fields and allowing various styles and types to be embedded in the WYSIWYG editor will be explained and demonstrated. A working knowledge of basic Drupal 8 site building is recommended.

After the base pieces are in place, we'll walk through how media is used with fields and in WYSIWYG as well as some rad contrib modules like Focal Point and Paragraphs that can bring your media wizardry to the next level.

If time remains, we'll take a quick look at how the Acquia Lightning distribution handles media and compare/contrast some of the key differences and what might be on the horizon for Media in Drupal 8 (Core!!!!).

Key Modules:

  • Responsive Images
  • Inline Entity Form
  • Embed
  • Entity Embed
  • Entity Browser
  • Media Entity
  • Media Entity Document
  • Media Entity Image
  • Twig Tweak
  • Video Embed Field
  • Video Embed Media
  • Views Infinite Scroll
  • Focal Point
  • Paragraphs

NOTE: This session is not meant to be a setup and follow-along as we go session due to time constraints, but if attendees wish to try to build these elements during the session having a composer based D8 instance with the above modules installed and ready to go beforehand would be very beneficial.

About the Presenter:
Adam Fuchs is a site builder and front-end developer for Electric Citizen, a Twin Cities Drupal development and design agency.

 

Slides Link:

http://bit.ly/2sNWmgT

Blog Link (basically everything covered in the talk):

https://www.electriccitizen.com/blog/media-libraries-drupal-8

Learning Objectives & Outcomes: 
Attendees will learn how to build a media library solution that is customizable for nearly situation and will gain some ideas for intermediate and advanced implementations.