Published on February 21, 2014
How to Work with Media
Addison Berry ‣ Director of Education, Lullabot Product Manager of Drupalize.Me ‣ Co-author of the O’Reilly Using Drupal book ‣ @add1sun •
Today! ‣ Download the slides from: http://lb.cm/acquia-mediamodule ‣ Dis/advantages of using Media ‣ How to pick the right version ‣ Basic conﬁguration concepts ‣ Extending Media
What is Media? ‣ Upload: Provides the ability to upload images, videos, and audio to your site ‣ Manage: A library interface, which allows you to choose from previously uploaded ﬁles ‣ Integrate: WYSIYWG and ﬁelds can be used to display media-managed assets
Why Media? ‣ Managing reusable content ‣ Consistent interface ‣ Media works with the concepts of entities and ﬁles, just like core ‣ Can be extended to use external media ‣ There is excellent community support for Media
Competitors Single-media modules ‣ Image: core ‣ Video: https://drupal.org/project/video ‣ AudioField: https://drupal.org/project/audioﬁeld
Competitors Scald - https://drupal.org/project/scald ‣ Drag-and-drop UI ‣ Does not extend core with entities and ﬁles ‣ Has a smaller support base
Which Version? ‣ 1.x ‣ 2.x
(Dis) Advantages of 1.x ‣ Currently the recommended release ‣ Very stable software ‣ No new features, bug ﬁxes only ‣ Does not require any developer-savviness as things should “just work”
(Dis) Advantages of 2.x ‣ Integrates with Views, to give more control of the UI. ‣ Rich ecosystem of supporting modules. ‣ Alpha software: troubleshooting might be required. ‣ Will be ported to Drupal 8 when the time comes.
Conﬁguring Media ‣ Content type ﬁelds (core ﬁle and image) ‣ File types (image, audio, video, etc.) ‣ Managing display (ﬁeld, entity, ﬁle, image styles)
Content Type Media Fields ‣ Fields • File (core) • Image (core) ‣ Widgets • ﬁle or image uploader (core) • Media ﬁle selector
File Types ‣ Extends the core File entity ‣ Diﬀerent kinds of ﬁles (image, video, audio, etc.) ‣ Each ﬁle type can have ﬁelds for meta info ‣ Files have display options (view mode/media format) • can use core image styles for display
Content type: File ﬁeld with Media ﬁle selector widget Image ﬁle type: ﬁelds for all images (ﬁle name, copyright) File: display view modes (preview, large) Core image styles
Extending Media List of modules for Media https://groups.drupal.org/node/168009 ! ‣ External Providers ‣ Players
Extending Media Popular extensions include: ‣ oEmbed - https://drupal.org/project/oembed Embed content from 3rd parties (e.g. YouTube, Flickr). ‣ File Lock - https://drupal.org/project/ﬁle_lock Prevents core from deleting ﬁles not attached to nodes (to maintain an asset library).
http://drupalize.me We have 30 videos on Media 1.x and Media 2.x for you.
Resources Download the slides and access the Media module lessons from: ‣ http://lb.cm/acquia-mediamodule
How to Work with Media in Drupal [February 20, 2014] ... and has created two instructional video series on Drupalize.Me focused on Drupal media ...
Media's aim is to solve Drupal's long standing media handling problem. Skip to ... Palantir.net and Zivtech have sponsored significant work on this project.
... it's basic but at least you can see Drupal working. Next step is download Drupal ... Social Media Directory; Security Announcements; Jobs; Our Community.
The main project page is located at http://drupal.org/project/media. Media module plugins will be listed on the main ... Who is working on the Media module?
Have you heard....there is a lot of energy being put into pushing the Community Media Drupal kits towards a Pantheon installation. Why? Because community ...
... has revolutionized file and media handling in Drupal 7 and ... edge future of Drupal Media! ... the Media module? Does it work with ...
... not on the drupal.org site or are simply very old and do not seem to work with drupal 7. ... found the media module (that is listed on drupal.org ...
Working with fluid media techniques. Making images flexible or fluid was simple, but how about videos? That depends on what your definition of video is and ...
[WORKING WITH THE MEDIA MODULE IN DRUPAL 7] [Introduction to the Media Project]