dxpr/lightning_media

Slick media handling for Lightning. So cool you'll make the A/C jealous.

Installs: 12 849

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Type:drupal-module

5.0.0-alpha3 2022-04-18 20:47 UTC

This package is auto-updated.

Last update: 2024-03-29 04:40:10 UTC


README

Lightning Media provides modules and configuration for great media authoring experiences.

Components

Lightning Media's components are not enabled by default. You can install them like any other Drupal modules.

Media Audio (lightning_media_audio)

Provides an Audio file media type, which can be used to store and play audio files like MP3s, WAVs, or AACs.

Bulk Media Upload (lightning_media_bulk_upload)

Leverages the DropzoneJS module to provide a form for uploading media assets in bulk.

Media Document (lightning_media_document)

Provides a Document media type, which can be used for storing files, such as PDFs, or other types of documents.

Media Image (lightning_media_image)

Provides an Image media type, which can be used for storing and displaying images. If the Image Widget Crop module is installed, the Image media type will automatically integrate with it to provide cropping functionality.

Media Instagram (lightning_media_instagram)

Provides an Instagram media type, for referencing and displaying Instagram posts in your Drupal site using the Media Entity Instagram module.

Media Slideshow (lightning_media_slideshow)

Provides a Slideshow block type type, which allows you to reference any number of assets from your media library and display them as a slideshow or carousel using the Slick library.

Media Twitter (lightning_media_twitter)

Provides a Tweet media type, for referencing and displaying tweets in your Drupal site using the Media Entity Twitter module.

Media Video (lightning_media_video)

Provides a Video media type for displaying remote videos (e.g., YouTube or Vimeo) in your Drupal site and the Video file media type for managing locally hosted videos.

Installation

This component can only be installed using Composer. To add it to your Drupal code base:

composer config repositories.drupal composer https://packages.drupal.org/8
composer require drupal/lightning_media

Updates

Lightning Media and its components use the normal Drupal database update system as often as possible. However, there are occasionally certain updates which touch configuration and may change the functionality of your site. These updates are optional, and are performed by a special utility at the command line. This utility is compatible with both Drupal Console and Drush 9 or later.

To run updates using Drush 9:

drush update:lightning

With Drupal Console:

drupal update:lightning

Known Issues

  • If you upload an image into an image field using the new image browser, you can set the image's alt text at upload time, but that text will not be replicated to the image field. This is due to a limitation of Entity Browser's API.
  • Using the bulk upload feature in environments with a load balancer might result in some images not being saved.