Media FAQ (Outdated)

Last updated on
30 August 2018

Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites

This FAQ is for all things media related. Not just the core media modules but also contributed modules. You are welcome to add new questions and edit this page.

Training Resources

What training tutorials and videos are available to learn Media?

Media Module

What is the difference between version 1.x and 2.x?

Installing and Configuring Media

Embedded Media Field

How can I add a field to my Content Type that holds both internal (local) and external (YouTube) video?

Uploading Media

When adding a media field to my content type, should I use a Media field or File field?
How do you fill out custom fields on a Media/file entity?
How do I automatically upload multiple YouTube videos with an RSS feed?

Displaying Media

Embedding Media in a Text Field

I've added fields (author, title, etc) to the image and video File Types. How can I display these fields when the media file is embedded in a Text Field?

YouTube

How do I use Media and Media:YouTube to post YouTube videos?
How do I embed a YouTube video into my Text Field (Body)?
How can I make the teaser YouTube preview image link to the node?
How can i make a video appear in a modal?

Training Resources

What training tutorials and videos are available to learn Media?

What is the Media Module?

What is the difference between version 1.x and 2.x?

The 7.x-1.x version is the stable and recommended version for most users and production sites. It has reached feature freeze and will not be getting any new features, only bug fixes.

The 7.x-2.x version offers a lot of new improvements and is currently the active development version for new features. The File entity module has been split out of Media and into its own separate module. New features like Views integration and UI improvements are also being added. Bugs fixed in 7.x-2.x will also be fixed in 7.x-1.x if possible.

(This should be clarified further. Description of specific differences in functionality welcome.)

Installing and Configuring Media

Uploading Media

When adding a media asset field to my content type, should I use Media field or File field?
When using version 2.x of the Media module, you should add media to your content types by using a File field with the 'Media file selector' widget. The Media field used in version 1.x of the Media module is deprecated and will no longer be used in the future.
I've added custom fields to the file field entities. When I upload new media is there a way to enter values for these fields?
Unfortunately you can't enter values on upload yet. Navigate to admin/content/media or Content->Media->Edit: you can edit your custom media fields here.

There is a patch being worked on in the issue queue to automatically open the file edit form in a modal after uploading here.
How do I automatically upload multiple YouTube videos with an RSS feed?
The Feed Import module can do this. Here is a tutorial -
http://drupal.org/node/1365220
Example: change media browser tabs/plugins order
function YOUR_MODULE_NAME_media_browser_plugins_alter(&$plugin_output) {
  $plugin_output['media_default--media_browser_1']['#weight'] = -50;
  $plugin_output['upload']['#weight'] = 40;
  $plugin_output['media_internet']['#weight'] = 50;
}

Embedding Media in a Text Field

I've added fields (author, title, etc) to the image and video File Types. How can I display these fields when the media file is embedded in a Text Field?
UNANSWERED - Anyone have an idea?

Displaying Media

YouTube

How do I use Media and Media:YouTube to post YouTube videos?
Here is a tutorial - http://drupal.org/node/1407140
How do I embed a YouTube video into my Text Field (Body)?
UNANSWERED: There is a video for this somewhere, I'm looking for it
How can I make the teaser YouTube preview image link to the node?
UNANSWERED: Here is a forum discussion asking about this? http://drupal.org/node/1384384"
How can i make a youtube/vimeo thumbnail image that clicks-through to a lightboxed/colorboxed video (ie. a modal)
UNANSWERED: http://drupal.org/project/media_colorbox doesn't appear to be compatible with latest media_* modules.

Help improve this page

Page status: No known problems

You can: