New ยท Version 2.0.0
CCC External Video Preview 2.0.0: YouTube and Vimeo videos that only load on click
We have released CCC External Video Preview 2.0.0, the first public version of our Joomla content plugin for YouTube and Vimeo videos. It shows videos as a preview with a privacy notice and only loads them when a visitor clicks. Until then no connection to the video platform is made. For this version we rebuilt the plugin on the current Joomla plugin structure and extended it so that it fits into any Joomla website.
What is in version 2.0.0
Address instead of just an ID
Videos can be embedded with their full address: watch, share, embed, Shorts and Vimeo links. The new shortcode {video} recognises YouTube and Vimeo by the address.
Convert existing embeds
YouTube and Vimeo iframes that are already in your content are turned into previews automatically. If you like, the same happens to a video address standing alone in a paragraph.
Preview images for Vimeo too
Preview images for Vimeo videos are now downloaded and stored locally, just as they already were for YouTube.
Privacy link and consent
The link to your privacy policy can be an article, a menu item or an address. The visitor's choice is remembered for the browser session, permanently, or not at all.
Styling with override and CSS custom properties
The markup of the preview can be overridden in your template, and colours and spacing are set with CSS custom properties. The notice can sit below or on top of the preview image.
API for cookie banners
A JavaScript API and events (window.CccExternalVideoPreview) connect the plugin to a cookie banner or consent tool.
Keyboard and screen readers
The preview is now a real button: it can be operated with the keyboard and is labelled for screen readers. The loaded player gets a title.
Ready for Joomla 6
The plugin is built on the current Joomla plugin structure and is developed and tested with Joomla 6. It requires Joomla 4.4 or newer and PHP 8.1 or newer.
Updates arrive through the Joomla extension updater. All features, use cases and the way to a licence are on the product page.