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

Description

This module parses links in text fields and adds them to a predefined media field.
This module does also a formatter for replacing the parsed links inside a text field.

This module requires the following modules:

Other modules that are optional if you want to embedd the media from those sites into your site:

This module is only available for Drupal 7.

How to use

  1. Download and install and configure the four required modules
  2. Upload the module and enable all four modules under the "Media Embedded" Section
  3. Now Create a new Content Type with a text field (usually the body field) and a media field
  4. In the text field settings (Manage Fields -> edit -> Media Field Association)
  5. Now select the "Hide media embedded" widget for your media field (Manage Fields -> edit -> Widget Type -> Hide media embedde)
  6. Now go to the settings of your media field and unmark the option "Allow editing" (you can mark it for debugging or testing purposes to see that it works)
  7. Now go to the display settings of your content type and choose "Replace Media URLs" for your text field and "Media Embedded" for your media field. As file view mode for the media file choose "Preview".
  8. Now create some new content with some youtube links in it :-)

Project information

Releases