govcore / govcore_media
Slick media handling for GovCore. So cool you'll make the A/C jealous.
Installs: 3 970
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:drupal-module
Requires
Requires (Dev)
- drupal/ckeditor: ^1
- drupal/dropzonejs: ^2.1
- drupal/embed: ^1
- drupal/entity_browser: ^2.3
- drupal/image_widget_crop: ^2.1
- drupal/inline_entity_form: ^1.0-rc7
- drupal/media_entity_instagram: ^3
- drupal/media_entity_twitter: ^2.5
- drupal/pathauto: ^1
- drupal/slick_entityreference: ^2
- enyo/dropzone: ^5.7.4
- vardot/blazy: ^1.8
Suggests
- drupal/dropzonejs: Required for GovCore Media Bulk Upload, which provides an easy way to upload multiple media files at once.
- drupal/entity_browser: Used by GovCore Media Image to improve image fields.
- drupal/image_widget_crop: Adds cropping functionality to GovCore Media Image.
- drupal/inline_entity_form: Allows entity browsers to create media items from file uploads and embed codes.
- drupal/media_entity_instagram: Required for GovCore Media Instagram, which provides an Instagram media type.
- drupal/media_entity_twitter: Required for GovCore Media Twitter, which provides a tweet media type.
- drupal/slick_entityreference: Required for GovCore Media Slideshow, which provides a simple carousel media type.
- enyo/dropzone: Provides a JavaScript library required by the DropzoneJS module.
- vardot/blazy: Provides a JavaScript library required by the Slick module.
Conflicts
- drupal/dropzonejs: <2.1
- drupal/entity_browser: <2.3
- drupal/image_widget_crop: <2.1
- drupal/inline_entity_form: <1.0-rc7
- drupal/media_entity: *
- drupal/media_entity_instagram: <3
- drupal/media_entity_twitter: <2.5
- drupal/slick_entityreference: <2
README
GovCore Media provides modules and configuration for great media authoring experiences.
Components
GovCore Media's components are not enabled by default. You can install them like any other Drupal modules.
Media Audio (govcore_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 (govcore_media_bulk_upload
)
Leverages the DropzoneJS module to provide a form for uploading media assets in bulk.
Media Document (govcore_media_document
)
Provides a Document media type, which can be used for storing files, such as PDFs, or other types of documents.
Media Image (govcore_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 (govcore_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 (govcore_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 (govcore_media_twitter
)
Provides a Tweet media type, for referencing and displaying tweets in your Drupal site using the Media Entity Twitter module.
Media Video (govcore_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.
Updates
GovCore 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 Drush 9 or later.
To run updates using Drush:
drush update:govcore
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.