While the media object is really powerful, occasionally, you may need a specialized method for rendering files. Luckily, the object is extensible. In this recipe, we will create a new plugin for rendering audio files.
As we will be creating a new extension, make sure Kickstarter is installed.
We will be using SoundManager 2 JavaScript code as an example. You can integrate any other audio or video plugin into the media object. To learn more about SoundManager 2, visit http://www.schillmania.com/projects/soundmanager2/.
1. Go to the Extension Manager module, then Create new Extension.
2. Enter your extension key, and be sure to register the key, so no one else uses it. For this extension, you can enter
soundmanager2
.Note
If you're creating an extension that will only be used in your installation, and will not be released to TYPO3 Extension Repository (TER), use a
user_
prefix in the extension key.3. Click...