heimrichhannot/contao-news_media

Media support for news.

1.1.1 2022-01-11 16:15 UTC

This package is auto-updated.

Last update: 2023-01-11 18:17:38 UTC


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; ?>