Embed Media configuration (before)
Embed Media configuration (after)

This project is not covered by Drupal’s security advisory policy.

This module extends the Media Embed functionality provided by core's Media module. Media Embed provides an editor plugin and a text format filter that allow for media entities to be embedded inside CKEditor. It allows site builders to determine which media bundles can be embedded (e.g. images and remote videos but not files). When rendered, media entities are displayed with a designated view mode. Media Embed allows site builders to control which view modes can be selected by end users for display; however, the list of allowed view modes is controlled on a per-text format basis, not on a per-bundle basis. This module modifies Media Embed to allow view modes to be designated on a per-bundle basis.

For example, a site builder has created two media bundles: 1) image and 2) remote video. For the images, two view modes are needed: 1) 'Narrow' and 2) 'Wide'. For remote videos, only one view mode is needed, 'Remote Video'. Without this module, end users would see all three view modes as options when embedding media in CKEditor for both images and remotes videos. Ideally, when embedding an image, a content editor would only be given 'Narrow' and 'Wide' as options; and when embedding a remote video, a content editor wouldn't see any options because 'Remote Video' is the only view mode allowed for remote videos. This module fills that functionality gap.

Supporting organizations: 
Sponsored initial development

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Media
  • Created by chris burge on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases