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