Drupal 7 Media

Book description

If you like building websites with Drupal you’ll love this guide to introducing multimedia to your sites. Packed with examples, it helps you use HTML5 and the Drupal eco-system to achieve brilliant results.

  • Leverage the best Drupal community modules for media integration
  • Extend media resources such as image styles, slideshows, galleries, and media management to enrich the user experience
  • Learn how to use HTML5 for responsive web design and semantic websites, and implement a better cross-compatible web application

In Detail

Integrating images, video, and audio content on a Drupal site requires knowledge of appropriate community modules, and an understanding of how to configure and connect them properly. With the power of up-to-date technologies such as HTML5, responsive web design, and the best modules available in Drupal's eco-system, we can create the best Drupal 7 media website.

Drupal 7 Media is a practical, hands-on guide that will introduce you to the basic structure of a Drupal site and guide you through the integration of images, videos, and audio content. Learn to leverage the most suitable community modules and up-to-date technology such as HTML5 to offer a great user experience through rich media content.

The book begins with a practical introduction to the basic Drupal building blocks. It then breaks down each media resource, and explores them in detail.

You will learn how to leverage Drupal’s community modules to implement support for images, videos, and audio content, along with the best practices for implementation. We will be mentioning ideas throughout the book, which you can extend upon and use to build your own web applications. We will explore HTML5 support for media resources, the semantic web, and responsive web design, which are key topics in modern web application development. We will then build upon this knowledge and add more functionality to our sample website, such as support for analytic charts and customizing images, all of which we will implement using our own custom modules.

You will learn everything you need to know about building, extending, and configuring a Drupal 7 media web application.

Table of contents

  1. Drupal 7 Media
    1. Table of Contents
    2. Drupal 7 Media
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Drupal's Building Blocks
      1. Nodes and entities
        1. Nodes
        2. Entities
        3. Creating a content type
      2. Fields
        1. Adding fields to Memo
        2. Configuring the Memo display
      3. Summary
    9. 2. Views, Blocks, and Themes
        1. Installing the Views module
        2. Adding a new Views
      2. Blocks and themes
        1. Blocks
          1. Understanding block regions
          2. Assigning blocks to regions
          3. Creating blocks
        2. Themes
          1. Installing a new theme
          2. Template engines
      3. Summary
    10. 3. Working with Images
      1. The Media module
        1. Adding a media asset field
        2. The media library
        3. Remote media assets
      2. WYSIWYG
        1. Text formats
        2. Adding a rich-text editor
        3. Embedding images in content
      3. Image galleries
        1. Enabling an image gallery feature
        2. Creating an image gallery
        3. Galleries as blocks
      4. Summary
    11. 4. HTML5 in Drupal
      1. HTML5 form elements
      2. HTML5 media
      3. HTML5 canvas
      4. HTML5 resources
      5. HTML5 in Drupal
      6. A canvas playground
        1. Creating a content type for the canvas field
        2. Creating a new DigiDoc
      7. Summary
    12. 5. Video Capabilities
      1. Adding videos hosted on third-party websites
        1. Creating our video content type
        2. Adding a new video using the YouTube browser
        3. Adding a new video using URL
        4. Embedding videos in WYSIWYG editor
      2. Customizing videos
        1. Customizing video fields
        2. Customizing video display modes
        3. Customizing YouTube player
      3. Adding videos hosted locally
        1. Installing an HTML5 media player
        2. Uploading videos and playing them
      4. Galleries and playlists
        1. Video galleries
        2. Video playlists
          1. Installing the MediaFront module
          2. Configuring the MediaFront module
          3. Creating a content type for the MediaFront videos
          4. Creating a Views-based playlist
      5. Summary
    13. 6. Audio Capabilities
      1. Supported audio formats
      2. Enabling audio play
        1. Adding a new content type
      3. Customizing audio nodes
        1. Aiming for multi-channel playback
        2. Creating a drum machine
      4. Leveraging audio metadata
        1. ID3
        2. Installing the ID3 module and library
        3. Preparing custom node template
        4. Extracting metadata
        5. Storing metadata in fields
      5. Summary
    14. 7. Leveraging Other HTML5 Features
      1. RDFa and Microdata
        1. Introducing RDFa
          1. Enabling RDF support in Drupal
        2. Introducing Microdata
          1. Enabling Microdata support in Drupal
          2. Testing semantic mark-up
      2. Visualizing data with graphical charts
        1. Enabling charts in Drupal
          1. Visualization API using Views
          2. Visualization API developer interface
      3. Responsive web design
        1. Responsive web design with AdaptiveTheme
      4. Summary
    15. 8. Enhancing Media Content
      1. Understanding media configuration
        1. The filesystem
        2. Image toolkit
        3. Image styles
      2. Colorbox
        1. Colorbox for media images
        2. Colorbox for WYSIWYG integration
          1. Installing colorbox
        3. Colorbox for views
      3. Multiple file uploads
        1. Multiple file uploads for site administrators
        2. Multiple file uploads for user's Image fields
      4. Extending image style effects
        1. Adding your own effects with custom modules
      5. Enabling rating of content
        1. Adding a rating field for content types
      6. Summary
    16. 9. Drupal 8 and Beyond
      1. Introduction to Drupal 8
        1. Drupal 8 architecture changes
        2. Integration with Symfony2
        3. Release timeline and when to expect Drupal 8
      2. Drupal 8 tour guide
      3. Summary
    17. Index

Product information

  • Title: Drupal 7 Media
  • Author(s): Liran Tal
  • Release date: July 2013
  • Publisher(s): Packt Publishing
  • ISBN: 9781849516082