ddeck_advanced_media
Adds modern Media display formatters for Drupal: Plyr-based audio/video players, remote video (YouTube/Vimeo), and PhotoSwipe image galleries with configurable player settings.
DDECK Advanced Media enhances Drupal Media display by providing ready-to-use field formatters for audio, video, remote video, and image galleries.
For users new to Drupal, the module solves a common problem: how to get modern media rendering without custom front-end development. You keep your existing Media fields and simply select richer display formatters in Manage display.
Features
- Plyr formatter for local audio files with a modern and accessible player UI.
- Plyr formatter for local video files using Drupal Media/field display configuration.
- Remote video formatter for YouTube and Vimeo links with Plyr integration.
- PhotoSwipe gallery formatter for responsive lightbox image galleries.
- Configurable player behavior (e.g. autoplay, loop, controls, YouTube privacy options) via formatter settings.
- Drupal-native workflow: no new content type required, works through standard field formatters.
Typical use cases:
- Standardize media playback UX across multiple content types.
- Replace default media rendering with a more polished player experience.
- Add gallery/lightbox behavior to editorial image fields.
- Keep configuration in the Drupal UI instead of custom templates/JS.
Post-Installation
- Install and enable DDECK Advanced Media.
- Go to Structure > Content types > [Your content type] > Manage display (or the relevant entity display page).
- On media/image fields, choose one of the provided formatters:
- DDECK Plyr for audio files
- DDECK Plyr for video files
- DDECK Plyr for remote videos
- PhotoSwipe Media Gallery
- Adjust formatter settings as needed (including JSON player options where available).
- Save and verify rendering on content pages.
Special considerations:
- No new content type is created by this module.
- No text format changes are required for basic usage.
- If upgrading from an earlier internal module name, run
drush crand review formatter assignments.
Additional Requirements
Required Drupal modules:
- Media
- Media Library
- CKEditor 5
- Image
External libraries used:
Install dependencies through Composer according to your site build process.
Recommended modules/libraries
- Media Library for editorial media selection workflows (already required).
- Image styles to optimize PhotoSwipe thumbnail and full-size image rendering.
- A site-level CDN/caching strategy for media-heavy pages.
Similar projects
Other Drupal modules provide media players or gallery features, but DDECK Advanced Media is focused on a combined, field-formatter-first approach:
- Single module covering audio, video, remote video, and image gallery display.
- Tight integration with Drupal’s native Manage display UI.
- Fast adoption for site builders who want modern media output with minimal custom code.