# Shopware: embed YouTube videos fast and privacy-friendly

> Replaces YouTube videos in the Shopware storefront with a lightweight preview element: faster pages, less transfer, and no cookies until someone clicks.

Quelle / Source: https://stoneandwater.online/en/lite-youtube.html

# YouTube videos in Shopware without the load time: YouTube videos, without the load time.

Instead of the full player, a preview image with a play button appears. YouTube is only loaded on click - that saves up to a megabyte per video and sets no cookies until then.
[Read the manual](https://stoneandwater.online/en/manual-lite-youtube.html)[Get in touch](https://stoneandwater.online/en/contact.html)

What the plugin does

## The player arrives *when someone clicks*.

The plugin replaces every YouTube iframe in the fully rendered storefront HTML with a lightweight preview element: an image with a play button. Only on click is the real player loaded - and it starts right away.

Server side

### No iframe in the source

The replacement happens on the server on the finished HTML. The visitor never receives a YouTube iframe in the first place - none can be found in the page source.

Starts immediately

### One click is enough

After the click the video plays straight away, without a second click on a YouTube play button. On iOS and Android too.

From any source

### Template, editor, experience

Every iframe from youtube.com and youtube-nocookie.com is caught, whether it comes from the template, from a product description in the editor or from a shopping experience element.

Modals included

### Hidden videos too

Videos inside closed modals are converted as well. The preview image can additionally be loaded lazily so it is not fetched on page view already.

Sound stops on closing

### No playing on in the background

Closing a modal with a running video stops the sound. And when switching between the tabs of a product page, the video stays operable.

Yields to the theme

### Not two implementations

If a theme already ships its own element named lite-youtube, the plugin stays out of the way and leaves it to that one - otherwise two implementations would interfere.

[Image: YouTube videos, without the load time - Screenshot]
**0 iframes**on page load

How it looks in the admin
- Videos are detected automatically

- Store the thumbnail in the shop

- The player loads only on click

- No cookies before consent

Ideal for Product videos Layouts with video Faster loading Privacy
[Read the manual](https://stoneandwater.online/en/manual-lite-youtube.html)

What it is for

## Videos cost load time - *even unwatched*.

An embedded YouTube video loads the complete player on page view, whether anyone presses play or not. With four videos on a product page that adds up to several megabytes.

Only on click

### The player comes later

Instead of the player, only a preview image with a play button appears. YouTube is loaded when someone presses it - and the video starts straight away, without a second click.

0.5 to 1 MB per video

### Less transfer

That shows directly in the PageSpeed score, particularly on mobile devices and on pages with several videos.

No click, no cookies

### Clean until consent

Without a click there is no connection to YouTube and no cookies are set. With locally stored preview images, no IP address reaches Google either.

No theme change

### On the finished HTML

The plugin works on the fully rendered page and replaces the iframes there. No template change, no child theme - a theme update cannot disable it.

Finds them everywhere

### Wherever the video comes from

From the template, from a product description in the editor or from a shopping experience element - every YouTube iframe is caught, from youtube.com as well as youtube-nocookie.com.

Touches nothing else

### Deliberately restrained

Vimeo, Google Maps and other providers stay untouched. So do iframes inside scripts, templates, text areas and comments, and videos a lazy loader fetches anyway.

Settings

## Preview images *from your own shop*.

How the preview image arrives decides how much privacy is actually gained. Three routes are available, plus control per path and sales channel.

Stored in the shop

### The recommended route

The server fetches each preview image once and stores it in the shop. Visitors receive it from there - best appearance with full cookie and IP freedom. Works with S3 or other remote storage too.

Or no image at all

### For the strictest reading

If you want no outbound connection whatsoever, a dark background with a play button is shown. Until the click, nothing happens at all.

Per sales channel

### Deviations visible

Settings apply globally or per channel. If a channel deviates, a note lists the affected fields - and a button resets it to the default.

Only certain paths

### Good for a test

An include list restricts the conversion to individual pages; a star at the end acts as a wildcard. That allows measuring one page before switching the whole shop.

Or exclude deliberately

### The exception wins

A second list excludes individual paths. It is checked first - useful for landing pages where a video should play immediately.

WebP where possible

### Smaller at the same sharpness

Preview images are fetched as WebP by preference and fall back to JPEG where only that exists. The chosen size is an upper limit; if it is missing for a video, the next smaller one is used.

Technical details

## Server side, *not in the browser*.

The replacement happens on the server on the finished HTML. The visitor never receives an iframe in the first place.

### Your own image address

Preview images can be delivered from an address you enter yourself - meant for delivery networks Shopware does not know about. The setting applies per sales channel, with a preview of the resulting address. If a delivery network is configured in Shopware, it is used without any setup; the address is built on every request, so a switch takes effect at once.

### Compatibility

Shopware 6.6 & 6.7 PHP 8.2+ Storefront Custom element

### Preview images in the background

Fetching starts only after the page has reached the visitor, so it costs no waiting time. At most four images are fetched per page view, and an hourly task works through the queue.

### No premature caching

While a preview image is missing on a page, that page is deliberately kept out of the page cache - otherwise the placeholder would freeze there. Videos that gave up after three attempts do not count, so a single broken video cannot exclude a page permanently.

### Yields to the theme

If a theme already registers its own element named lite-youtube, the plugin stays out of the way and leaves it to that implementation. Two implementations would interfere with each other.

### Own delivery as fallback

If the file system cannot provide a public address, the plugin serves the images through a route of its own, with a cache header of one year.

Frequently asked

## Frequently asked questions about Lite YouTube

Videos, load time and privacy in a Shopware shop.

#### How do I make YouTube videos faster in Shopware?

By not loading the player on page view any more. The plugin replaces every YouTube iframe with a preview image and a play button; the actual player only arrives on click. That saves around 0.5 to 1 MB of transfer per video.

#### Do I have to modify my theme?

No. The plugin works on the fully rendered HTML and replaces the iframes there. It changes no template files, so a theme update cannot disable it. Only a theme:compile is needed after installation and updates.

#### Are really no cookies set without a click?

Without a click there is no connection to YouTube. Whether an IP address reaches Google depends on the preview image: with "store in the shop" it comes from your shop, with "load directly from YouTube" from Google. For complete freedom, choose local storage or no preview image at all.

#### Where do the preview images come from?

The server fetches them once per video and stores them in the shop - in the background, after the page has reached the visitor, so it costs no waiting time. The images live in the public file system, which works with S3 too.

#### Can I test it on one page first?

Yes. Under "only these paths" you enter a single page, measure with PageSpeed Insights before and after, then empty the field again. Conversely, individual pages can be excluded permanently.

#### Does it apply to every video in the shop?

To every YouTube video, whether it comes from the template, from a product description or from a shopping experience. Vimeo, Google Maps and other providers stay untouched, as do videos inside scripts, templates and comments.

#### What does Lite YouTube cost?

Buying directly costs 7.99 euros net per month or 81.50 euros net per year. Paying yearly saves 15 percent. All prices are exclusive of VAT.

#### What happens when the licence expires?

The storefront keeps running and already converted videos stay converted - visitors notice nothing. Only administration and the fetching of new preview images are locked.

Availability

## Through the store or *directly from us*.

Two routes, the same feature set - pick whichever suits your setup.

Directly from Stone & Water

### Available now

Monthly 7,99 €
Best value Yearly 81,50 € 15 % cheaper

All prices net, plus VAT.
You buy the licence directly from us and receive an invoice from us. Installation by upload in the admin without SSH, updates through our licence platform, support straight from the developer.
[Get in touch](https://stoneandwater.online/en/contact.html)[+49 2555 9997342](tel:+4925559997342)

Shopware Store

### In preparation

The plugin will be listed in the official Shopware Community Store. Installation and automatic updates then run through the plugin manager in the backend, billing through your Shopware account. We will link it here as soon as it is available.

[Image: Stone & Water]
Shopware e-commerce agency from Schöppingen, Germany. Consulting, implementation and optimisation - from the first concept to long-term growth.

### Shopware

- [Shopware overview](https://stoneandwater.online/en/shopware.html)

- [Migration (5 to 6)](https://stoneandwater.online/en/shopware-migration.html)

- [SEO optimisation](https://stoneandwater.online/en/shopware-seo.html)

- [Performance](https://stoneandwater.online/en/shopware-performance.html)

- [Template development](https://stoneandwater.online/en/shopware-template-development.html)

- [Plugin development](https://stoneandwater.online/en/shopware-plugin-development.html)

- [PIM for Shopware](https://stoneandwater.online/en/pim.html)

- [Shopware Plugins](https://stoneandwater.online/en/plugins.html)

### Plugins

[Plugin Suite free ](https://stoneandwater.online/en/plugin-suite.html)[All plugins](https://stoneandwater.online/en/plugins.html)[All videos](https://stoneandwater.online/en/videos.html)

- [A/B Testing](https://stoneandwater.online/en/ab-testing.html)

- [AI Blog & Landing Page](https://stoneandwater.online/en/ai-landingpage.html)

- [AI Content Blocks](https://stoneandwater.online/en/ai-content-blocks.html)

- [AI Cross-Selling](https://stoneandwater.online/en/ki-cross-selling.html)

- [AI Image Badge](https://stoneandwater.online/en/ai-image-badge.html)

- [AI Image SEO](https://stoneandwater.online/en/ai-image-seo.html)

- [AI Newsletter](https://stoneandwater.online/en/ai-newsletter.html)

- [AI Newsletter Agent](https://stoneandwater.online/en/ai-newsletter-agent.html)

- [AI Product Advisor](https://stoneandwater.online/en/ki-product-advisor.html)

- [AI Product Bundles](https://stoneandwater.online/en/ai-product-bundles.html)

- [AI Product Questions](https://stoneandwater.online/en/ki-product-questions.html)

- [AI Product Search](https://stoneandwater.online/en/ki-product-search.html)

- [AI Product Videos](https://stoneandwater.online/en/ai-product-videos.html)

- [AI Translation Manager](https://stoneandwater.online/en/ai-translation-manager.html)

- [Category Levels](https://stoneandwater.online/en/category-levels.html)

- [CLP Information](https://stoneandwater.online/en/clp-information.html)

- [Cross-selling at checkout](https://stoneandwater.online/en/checkout-cross-selling.html)

- [Crypto Payment](https://stoneandwater.online/en/crypto-payment.html)

- [Customer Reviews](https://stoneandwater.online/en/customer-reviews.html)

- [Database Cleanup & Optimizer](https://stoneandwater.online/en/db-cleaner.html)

- [Lite YouTube](https://stoneandwater.online/en/lite-youtube.html)

- [Live Viewer & Sales Counter](https://stoneandwater.online/en/live-viewer.html)

- [Manufacturer Pages](https://stoneandwater.online/en/manufacturer-pages.html)

- [Page Speed Optimization](https://stoneandwater.online/en/page-speed.html)

- [Payment information on PDF documents](https://stoneandwater.online/en/payment-info-pdf.html)

- [Plugin Update Manager](https://stoneandwater.online/en/update-manager.html)

- [Read More - Description](https://stoneandwater.online/en/read-more.html)

- [robots.txt Manager](https://stoneandwater.online/en/robots-txt.html)

- [Shipping Calculator](https://stoneandwater.online/en/shipping-calculator.html)

- [Shopping Like Dating](https://stoneandwater.online/en/shopping-like-dating.html)

- [Variant preselection](https://stoneandwater.online/en/variant-preselection.html)

More plugins [ALBIS Leasing](https://stoneandwater.online/en/albis-leasing.html)[Cache Warmer](https://stoneandwater.online/en/cache-warmer.html)[Shopware CDN](https://stoneandwater.online/en/shopware-cdn.html)

### Company

- [Contact](https://stoneandwater.online/en/contact.html)

- [Legal notice](https://stoneandwater.online/en/legal-notice.html)

- [Privacy](https://stoneandwater.online/en/privacy.html)

- Cookie settings

© 2026 Stone & Water · Dominic Steiner Hosted on [Creoline](https://www.creoline.com/ref/tYq4UkumEqLtMCi3PpwEJo9JspG66udf) [LinkedIn](https://www.linkedin.com/company/18043592/) · [Xing](https://www.xing.com/pages/stone-water) · [Facebook](https://www.facebook.com/stoneandwateragency/)

</html
