Download - Drupal 7 - Media Modul (Version 2.x-dev)
![Page 1: Drupal 7 - Media Modul (Version 2.x-dev)](https://reader033.vdocuments.site/reader033/viewer/2022051817/547bd9715806b5db3f8b468c/html5/thumbnails/1.jpg)
Media Modul in Drupal 7 - Version 2.x (DEV)Steffen Rühlman, undpaul GmbH
![Page 2: Drupal 7 - Media Modul (Version 2.x-dev)](https://reader033.vdocuments.site/reader033/viewer/2022051817/547bd9715806b5db3f8b468c/html5/thumbnails/2.jpg)
Media Handling in Drupal 6/7
● upload-module (core) - node attachment
● Medien in Feldern○ FileField○ ImageField○ Embedded Media Field○ VideoField○ AudioField
![Page 3: Drupal 7 - Media Modul (Version 2.x-dev)](https://reader033.vdocuments.site/reader033/viewer/2022051817/547bd9715806b5db3f8b468c/html5/thumbnails/3.jpg)
Media Handling in Drupal 6/7
● Management von Dateien○ IMCE○ WebFM (D6)○ FileField + FileField Sources○ image FUpload
● Einbettung von Dateien
○ WYSIWYG + Pfade händisch○ WYSIWYG + IMCE (Bridge)○ emfield - Einbindung diverser Provider (youtube,
archive.org, flickr ... )
![Page 4: Drupal 7 - Media Modul (Version 2.x-dev)](https://reader033.vdocuments.site/reader033/viewer/2022051817/547bd9715806b5db3f8b468c/html5/thumbnails/4.jpg)
funktioniert alles - gemeinsame Basis fehlt
![Page 5: Drupal 7 - Media Modul (Version 2.x-dev)](https://reader033.vdocuments.site/reader033/viewer/2022051817/547bd9715806b5db3f8b468c/html5/thumbnails/5.jpg)
media-7.x-1.x-devmedia_gallery
2011 - MediaSprint Chicago
media-7.x-1.x-rc3 media-7.x-2.x-dev
http://drupal.org/project/media
![Page 6: Drupal 7 - Media Modul (Version 2.x-dev)](https://reader033.vdocuments.site/reader033/viewer/2022051817/547bd9715806b5db3f8b468c/html5/thumbnails/6.jpg)
Drupal 7 - what's up ?
● Streamwrapper für Dateizugriff○ public://○ private://○ temporary://
● Entity - System
○ Fields in Core○ File-Entity, User-Entity (core), Product-Entity
(commerce) ...
● Imagefield / Imagecache in Core - Image-Styles
![Page 7: Drupal 7 - Media Modul (Version 2.x-dev)](https://reader033.vdocuments.site/reader033/viewer/2022051817/547bd9715806b5db3f8b468c/html5/thumbnails/7.jpg)
streamwrapper - wtf ?
● streamwrapper != file● fester Bestandteil von PHP 5.2 ● Beschreibung, wie Zugriff auf Dateien erfolgt
○ FTP / HTTP / file://
● Wordpress hat sie auch
● Drupal ○ public://file.jpg - sites/default/files/file.jpg○ private://file.jpg - sites/system/files/file.jpg (geschütztes
Verzeichnis außerhalb www-root)● eigene Wrapper möglich
○ youtube:// - Einbindung von youtube Videos○ s3:// - Einbindung von amazon s3 Inhalten○ flickr:// - Einbindung von flickr Bildern / Inhalten
![Page 8: Drupal 7 - Media Modul (Version 2.x-dev)](https://reader033.vdocuments.site/reader033/viewer/2022051817/547bd9715806b5db3f8b468c/html5/thumbnails/8.jpg)
streamwrapper - Backend
systemweites Handling auf Basis des Name-Spaces
namespace://filepath/name
![Page 9: Drupal 7 - Media Modul (Version 2.x-dev)](https://reader033.vdocuments.site/reader033/viewer/2022051817/547bd9715806b5db3f8b468c/html5/thumbnails/9.jpg)
File Entity - fieldable files
● Hinzufügen beliebiger Felder zu Files - CCK für Files
● Entity-Types media-Modul:Application, Audio, Image, Text, Video, Other
![Page 10: Drupal 7 - Media Modul (Version 2.x-dev)](https://reader033.vdocuments.site/reader033/viewer/2022051817/547bd9715806b5db3f8b468c/html5/thumbnails/10.jpg)
File Entity - Formatter / Displays
● Displays für Felder○ Default / Link / Preview etc.
● Displays für Files
○ Erweiterbarkeit(HTML5 Player, PDF-Viewer)
○ pro Field-Display eigene File-Displays
![Page 11: Drupal 7 - Media Modul (Version 2.x-dev)](https://reader033.vdocuments.site/reader033/viewer/2022051817/547bd9715806b5db3f8b468c/html5/thumbnails/11.jpg)
media als Drupal Asset - Management
● zentrale Speicherung der Mediadaten (nicht unbedingt der Dateien) - auch von Remote Ressources
● Vereinheitlichung der Oberfläche / Abläufe○ Views-Integration○ WYSIWYG-Integration○ bessere Usability
● Erweiterbarkeit über API
![Page 12: Drupal 7 - Media Modul (Version 2.x-dev)](https://reader033.vdocuments.site/reader033/viewer/2022051817/547bd9715806b5db3f8b468c/html5/thumbnails/12.jpg)
media - ecosystem
![Page 13: Drupal 7 - Media Modul (Version 2.x-dev)](https://reader033.vdocuments.site/reader033/viewer/2022051817/547bd9715806b5db3f8b468c/html5/thumbnails/13.jpg)
Demo
![Page 14: Drupal 7 - Media Modul (Version 2.x-dev)](https://reader033.vdocuments.site/reader033/viewer/2022051817/547bd9715806b5db3f8b468c/html5/thumbnails/14.jpg)
contrib modules
● media_browser_plus
● eigene Filter● media basket ● Download gewählter
Dateien
http://drupal.org/project/media_browser_plus
![Page 15: Drupal 7 - Media Modul (Version 2.x-dev)](https://reader033.vdocuments.site/reader033/viewer/2022051817/547bd9715806b5db3f8b468c/html5/thumbnails/15.jpg)
contrib modules
● media_derivatives● File Processing / Conversion● supports Triggers / "Rules" / Plugins / Engines● Introduction
○ http://janezurevc.name/screencast-derivatives-api-intro-gsoc-2011● automatical convert files for HTML5-Usage
○ http://janezurevc.name/screencast-html5-video-support-multiple-files-using-media-derivatives-api
● remote_stream_wrapper○ Einbettung externer Dateien als Media-Asset
(Orginalbilder verbleiben bspw. auf flickr)● media_feeds● media_update ● media_translation● u.v.m. http://groups.drupal.org/node/168009
![Page 16: Drupal 7 - Media Modul (Version 2.x-dev)](https://reader033.vdocuments.site/reader033/viewer/2022051817/547bd9715806b5db3f8b468c/html5/thumbnails/16.jpg)
and so on...● Roadmap - http://drupal.org/node/1291276● Issues - http://drupal.org/project/issues/media ● Media Development Profile - http://drupal.
org/project/media_dev ● IRC - #drupal-media● Sprint in Denver - http://groups.drupal.org/node/181069
![Page 17: Drupal 7 - Media Modul (Version 2.x-dev)](https://reader033.vdocuments.site/reader033/viewer/2022051817/547bd9715806b5db3f8b468c/html5/thumbnails/17.jpg)
Usage
![Page 18: Drupal 7 - Media Modul (Version 2.x-dev)](https://reader033.vdocuments.site/reader033/viewer/2022051817/547bd9715806b5db3f8b468c/html5/thumbnails/18.jpg)
Danke !
noch Fragen ?
@_SteffenRwww.port11.de
www.hopper-intermedia.de