O'Reilly logo

TYPO3 4.3 Multimedia Cookbook by Dan Osipov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. 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_ ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required