Media

About

The Media module is a File Browser to the Internet, media provides a framework for managing files and multimedia assets, regardless of whether they are hosted on your own site or a 3rd party site. It replaces the Drupal core upload field with a unified User Interface where editors and administrators can upload, manage, and reuse files and multimedia assets. Media module also provides rich integration with WYSIWYG module to let content creators access media assets in rich text editor. Javascript is required to use the Media module. For more information check Media Module page.

Uses

Media Repository
Media module allows you to maintain a media asset repository where in you can add, remove, reuse your media assets. You can add the media file using upload form or from a url and also do bulk operations on the media assets.
Attaching media assets to content types
Media assets can be attached to content types as fields. To add a media field to a content type, go to the content type's manage fields page, and add a new field of type Multimedia Asset.
Using media assets in WYSIWYG
Media module provides rich integration with WYSIWYG editors, using Media Browser plugin you can select media asset from library to add to the rich text editor moreover you can add media asset from the media browser itself using either upload method or add from url method. To configure media with WYSIWYG you need two steps of configuration:
  • Enable WYSIWYG plugin on your desired WYSIWYG profile. Please note that you will need to have WYSIWYG module enabled.
  • Enable the Convert Media tags to markup filter on the Input format you are using with the WYSIWYG profile.