Book Image

Drupal 7 Media - Third Edition

By : Liran Tal
Book Image

Drupal 7 Media - Third Edition

By: Liran Tal

Overview of this book

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 (16 chapters)

Chapter 4. HTML5 in Drupal

HTML5 transitioned from yet another buzzword that's been circling the web, and a draft spec by the World Wide Web Consortium (W3C) http://www.w3c.org, to an implemented set of tools that is truly changing the way we interact with the web.

What were we using before HTML5? Well, that would technically be HTML4, which had released its spec back in 1997, with some revisions later on, and other specs such as XHTML. Since then, we counted on numerous JavaScript libraries and browser plugins, to push browser capabilities to its limits. But all of this is ancient history now since HTML5 has revolutionized the web cyberspace once again.

In this chapter, we will cover:

  • Introducing HTML5

  • HTML5 spec, features, capabilities

  • Using HTML5 in Drupal

Why another HTML spec update? It's just to name a couple of issues that HTML5 targets:

  • Compatibility: The browser ecosystem is very fragmented, with each vendor implementing only parts of the spec that they see relevant, and still, their...