Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying TYPO3 4.3 Multimedia Cookbook
  • Table Of Contents Toc
TYPO3 4.3 Multimedia Cookbook

TYPO3 4.3 Multimedia Cookbook

close
close
TYPO3 4.3 Multimedia Cookbook

TYPO3 4.3 Multimedia Cookbook

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)
close
close
TYPO3 4.3 Multimedia Cookbook
Credits
About the Author
About the Reviewers
Preface

Using custom media player to play video


Much like we did with audio, we will now create an extension to embed FLV player and render a custom video. You can use the same approach to embed any other custom video player to play your movies.

Note

For more information about FLV player, visit http://flvplayer.com/.

Getting ready

Make sure you have read and understood Extending the media content object for more rendering options recipe covered earlier. This recipe follows the same steps, using slightly different code. You should have created an extension skeleton in Kickstarter.

How to do it...

  1. 1. Create ext_localconf.php if it doesn't exist, and add the following content:

    <?php
    if (!defined ('TYPO3_MODE')) {
    die ('Access denied.');
    }
    // Register Hooks
    $TYPO3_CONF_VARS['SC_OPTIONS']['tslib/hooks/class.tx_cms_
    mediaitems.php']['customMediaRenderTypes'][$_EXTKEY] = 'EXT:' .
    $_EXTKEY . '/class.tx_webflvplayer.php:tx_webflvplayer';
    $TYPO3_CONF_VARS['SC_OPTIONS']['tslib/hooks/class.tx_cms_
    mediaitems.php...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
TYPO3 4.3 Multimedia Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon