You are here
Embedded Media Field
#D7CX: I pledge that Embedded Media Field will have a full Drupal 7 release, and/or a migration to FileField (depending on the status of PHP Stream Wrappers + FileField in core) on the day that Drupal 7 is released. Views functionality will be available the day the Drupal 7 version of Views is released.
This extensible module will create fields for node content types that can be used to display video, image, and audio files from various third party providers. When entering the content, the user will simply paste the URL or embed code from the third party, and the module will automatically determine which content provider is being used. When displaying the content, the proper embedding format will be used.
The module is only an engine, and requires a supported module to function. These include 'Embedded Image Field', 'Embedded Video Field' and 'Embedded Audio Field'. These modules are included in the contrib folder of the module, so they can be easily activated from the module administration page.
IMPORTANT: If you are upgrading from Drupal 5, please make certain to run all the available updates before doing so.
And a reminder about CCK: Before upgrading your site to Drupal 6, you must upgrade CCK to version 5.x-1.9 and run all updates. Updating to 5.x-1.9 is especially important before an upgrade because that version includes a fix to ensure you don't lose data when you disable modules in preparation for the upgrade.
The following modules are packaged with the module (and you need at least one of them to get this working):
The Embedded Image Field module currently supports Flickr, Imageshack, Picassa and Photobucket images. It creates a field that you can paste the url from, for instance, a Flickr photo into, which will then display that photo in a configurable size, with a link either to the node or to the original page from Flickr.
The Embedded Video Field module already supports YouTube, Google, Blip.TV, Revver, MySpace, MetaCafe, Last.fm, JumpCut, SevenLoad, Spike TV, Daily Motion, Veoh, Vimeo, Tudou, imeem, Guba, Yahoo Music Video, and Live Video video formats. More are planned to be supported soon. An api allows other third party video providers to be supported using simple include files and provided hooks. (Developers: examine the documentation of /providers/youtube.inc for help in adding support for new providers).
The Embedded Audio Field module supports third party audio content, such as from Odeo, Podcast Alley, and podOmatic.
The administer of a site may decide whether to allow all content providers, or only a certain number of them. They may further be limited when configuring the field.
The Embedded Media Thumbnail module allows editors to override the thumbnails of videos with their own, with a simple upload field. Activate the module, then check the new box in any defined video fields to allow custom thumbnails.
Embedded Inline Media creates a new filter/input format that will allow users to post a link to a video in the body of a node or comment, and have it automatically display the video instead. Currently only works with providers for the Embedded Video Field (Image and Audio soon enough, hopefully).
Embedded Media Import (DRUPAL 5 only; deprecated in favor of Feed API in Drupal 6) is for importing photosets, playlists, and the like. If you install that module, admins will have the ability to import photosets from Flickr as individual nodes (Currently, the module only supports Flickr). Just make sure the 'Allow import' checkbox on the content type (which must have a field defined with Embedded Media Field) is checked, proper permissions are given to editors, and look at the settings on the new tab at /admin/content/emfield/import.
When importing (at the new menu item: emimport -- 'Import Media Sets'), select the type you want to import content into. On the next page, paste the URL of the photoset you wish to import, click 'Parse', and you will then see thumbnails of all the items from that set. Uncheck any you wish, override titles/body/tags you wish, and click 'Import'. In a bit (which might take some time, depending on the size of the set), you will have some new nodes, complete with descriptions, titles, and tags (if you set a freetag vocabulary on the settings page).
Read the README.txt files in the individual contrib folders for more information.
Questions can be directed to winborn at advomatic dot com or alex at zivtech dot com
Author: Aaron Winborn
Development Began 2007-06-13
Requires: Drupal 4.7, 5, or 6, Content (CCK)
Other modules that work with Emfield: FeedAPI/FeedAPI Element Mapper (click here for instructions for importing Embedded Video Feeds), Media Actions, Asset, Lightbox2 & Thickbox.
New providers (separate installs): Media: Flickr (for Flickr Photosets, as a video), Media: Brightcove, Media: 8Tracks, and Media: Hulu.
Future enhancements: allow imported descriptions to be put into something besides node->body (probably).