Download the PHP package heimrichhannot/contao-youtube without Composer
On this page you can find all versions of the php package heimrichhannot/contao-youtube. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download heimrichhannot/contao-youtube
More information about heimrichhannot/contao-youtube
Files in heimrichhannot/contao-youtube
Download heimrichhannot/contao-youtube
More information about heimrichhannot/contao-youtube
Files in heimrichhannot/contao-youtube
Vendor heimrichhannot
Package contao-youtube
Short Description Youtube Content Element, with responsive support, preview image, play button and many more.
License LGPL-3.0+
Homepage https://github.com/heimrichhannot/contao-youtube
Package contao-youtube
Short Description Youtube Content Element, with responsive support, preview image, play button and many more.
License LGPL-3.0+
Homepage https://github.com/heimrichhannot/contao-youtube
Please rate this library. Is it a good library?
Informations about the package contao-youtube
YouTube
YouTube is a contao module to provide responsive youtube videos with preview images and better privacy control. It provides support for content elements and news items.
Technical instruction
Youtube videos can be added to news templates with ease. Just add the following code (for example: news_full.html5):
To use preview images from youtube, you have to generate an API key (https://developers.google.com/youtube/v3/getting-started) and place it in the contao settings.
Features
- Responsive youtube videos (requires jQuery)
- Preview image for youtube videos
- If no custom image is given, the preview image will be loaded from youtube and saved under 'files/media/youtube/'
- Privacy mode (requires jQuery)
- In privacy mode the video is displayed, after the user accepted a privacy advice within a modal prompt (requires bootstrap 3 modal window support)
- The user can mark his selection as permanent with a checkbox (state will be saved in a cookie)
Content elements
Name | Description |
---|---|
ContentYoutube | The default core youtube content element with additional features. |
Fields
tl_module:
Name | Description |
---|---|
youtube_template | Select a youtube template within your news module. |
autoplay | Start the video on page view, only for reader modules. |
tl_page:[root pages only]
Name | Description |
---|---|
youtube_template | Select a youtube template within your root page. |
youtubePrivacy | Enable youtube privacy mode for all elements on pages within this root page. |
youtubePrivacyTemplate | Select a youtube privacy template within your root page. |
Hooks
Name | Arguments | Description |
---|---|---|
parseArticles | $objTemplate, $arrItem, $objModule | Add youtube to news templates. |
All versions of contao-youtube with dependencies
PHP Build Version
Package Version
Requires
php Version
~5.4 || ~7.0
contao/core-bundle Version ^3.5.1 || ~4.1
contao-community-alliance/composer-plugin Version ~2.4 || ~3.0
heimrichhannot/contao-haste_plus Version ~1.1
heimrichhannot/contao-tagsinput Version ^2.1.13
contao/core-bundle Version ^3.5.1 || ~4.1
contao-community-alliance/composer-plugin Version ~2.4 || ~3.0
heimrichhannot/contao-haste_plus Version ~1.1
heimrichhannot/contao-tagsinput Version ^2.1.13
The package heimrichhannot/contao-youtube contains the following files
Loading the files please wait ....