https://github.com/b13/twoclickmedia
https://github.com/b13/twoclickmedia
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/b13/twoclickmedia
- Owner: b13
- Created: 2021-11-16T11:45:51.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-24T21:42:11.000Z (about 2 years ago)
- Last Synced: 2024-04-24T22:36:45.699Z (about 2 years ago)
- Language: PHP
- Size: 34.2 KB
- Stars: 2
- Watchers: 7
- Forks: 4
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EXT:twoclickmedia - Two click solution to include YouTube / Vimeo videos
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.
## Installation
Install this extension via `composer req b13/twoclickmedia` or download it from the
[TYPO3 Extension Repository](https://extensions.typo3.org/extension/twoclickmedia/) and activate
the extension in the Extension Manager of your TYPO3 installation.
Add ``b13/twoclickmedia`` as dependency to your Site Set (v13)
Or (for v12) include this extensions' TypoScript settings by adding the default settings to your TypoScript setup:
```
@import 'EXT:twoclickmedia/Configuration/Sets/Twoclickmedia/setup.typoscript'
```
## Template
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/
}
```
## Credits
This extension was created by Daniel Gorges in 2021 for [b13 GmbH, Stuttgart](https://b13.com).
[Find more TYPO3 extensions we have developed](https://b13.com/useful-typo3-extensions-from-b13-to-you) 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.