This extension replaces TYPO3's default YouTube/VimeoRenderer with a two click solution, showing a preview/teaser first and adding the iFrame connecting to YouTube or Vimeo once a user clicks on the preview image. It does not set or read any cookies and does not save a user's default state (there is no "show me all YouTube videos on this site" setting).
This extension comes with a default template for the preview image as well as a default JS to insert the iFrame normally used for displaying YouTube or Vimeo content.
Install this extension via composer req b13/twoclickmedia
or download it from the
TYPO3 Extension Repository and activate
the extension in the Extension Manager of your TYPO3 installation.
Include this extensions' TypoScript settings by adding the default settings to your TypoScript setup:
@import 'EXT:twoclickmedia/Configuration/TypoScript/setup.typoscript'
If you need to change the default template provided by this extension, add your own Fluid paths to the configuration:
plugin.tx_twoclickmedia {
view.layoutRootPaths.100 = EXT:my_extension/Resources/Private/Plugins/Twocklickmedia/Layouts/
view.templateRootPaths.100 = EXT:my_extension/Resources/Private/Plugins/Twocklickmedia/Templates/
view.partialRootPaths.100 = EXT:my_extension/Resources/Private/Plugins/Twocklickmedia/Partials/
}
This extension was created by Daniel Gorges in 2021 for b13 GmbH, Stuttgart.
Find more TYPO3 extensions we have developed that help us deliver value in client projects. As part of the way we work, we focus on testing and best practices to ensure long-term performance, reliability, and results in all our code.