heimrichhannot / contao-news_media
Media support for news.
Installs: 396
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 8
Forks: 0
Open Issues: 0
Type:contao-module
Requires
- php: ^7.4 || ^8.0
- contao-community-alliance/composer-plugin: ~2.4 || ~3.0
- contao/core-bundle: ^4.9
README
News Player Element.
Features
- embed local video/audio (like ContentMedia)
- embed external video/audio
- autoplay
- individual preview image
- custom templates (choose on newslist, newsarchive or newsreader)
- custom preview image (choose on newslist or newsarchive)
Template Code
<?php if ($this->addMedia): ?>
<?php echo $this->mediaPlayer; ?>
<?php endif; ?>