Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
- Download and install and configure the four required modules
- Upload the module and enable all four modules under the "Media Embedded" Section
- Now Create a new Content Type with a text field (usually the body field) and a media field
- In the text field settings (Manage Fields -> edit -> Media Field Association)
- Now select the "Hide media embedded" widget for your media field (Manage Fields -> edit -> Widget Type -> Hide media embedde)
- 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)
- 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".
- Now create some new content with some youtube links in it :-)
Project information
- Module categories: Content Editing Experience, Site Structure
- 56 sites report using this module
- Created by hunziker on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
7.x-1.0-beta3
released 3 August 2011
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-1.x-dev updated 6 Jul 2016 at 20:22 UTC