Book Image

TYPO3 4.3 Multimedia Cookbook

By : Dan Osipov, Adrian Zimmerman
Book Image

TYPO3 4.3 Multimedia Cookbook

By: Dan Osipov, Adrian Zimmerman

Overview of this book

TYPO3 is one of the world's leading open source content management systems, written in PHP, which can be used to create and customize your web site. Along with text content, you can display high quality images, audio, and video to your site's visitors by using TYPO3. It is essential to manage various types of multimedia files in content management systems for both editors and the users on the frontend of the site.The book gives you a step-by-step process for organizing an effective multimedia system. It also gives solutions to commonly encountered problems, and offers a variety of tools for dealing with multimedia content. The author's experience in large-scale systems enables him to share his effective solutions to these problems.If you choose to work through all the recipes from the beginning, you will start by setting up a basic web site set up, aimed at future expansion and scalability. Next, you will cover the basics of digital asset management—a major topic important in all enterprises. You can organize user groups because next you will be creating accounts for users and assigning permissions. Then you will jump into metadata—text information describing the multimedia objects—and learn how it can be manipulated in TYPO3. You will embed multimedia on your site when you have read the various methods for embedding mentioned in this book. Before you finish the book you will learn about some advanced topics, such as external API integrations and process automation.
Table of Contents (13 chapters)
TYPO3 4.3 Multimedia Cookbook
About the Author
About the Reviewers

Processing audio using a service

We will now follow a few simple steps to create a service that will be called when an audio or video file is uploaded.

Getting ready

To start, make sure you have the Kickstarter and DAM extensions installed. We will use the Kickstarter to create a framework for the extension, and then we will fill it up with code.

How to do it...

  1. 1. Go to the Admin tools | Extension Manager module, then Create new Extension.

  2. 2. Enter your extension key, and be sure to register the key, so no one else uses it. For this extension, you can enter cc_meta_audio.

  3. 3. Click on the plus icon (+) next to the General info to edit the basic required information about the extension.

  4. 4. Fill in the extension title, as the users will see it in the Extension Manager, and enter a brief description. For Category, select Services.

  5. 5. Under the list of dependencies, enter dam, getid3.

  6. 6. Click the plus icon (+) next to services, to create a new service class. Fill it in as shown in the following screenshot...