Title Background Image

thirty bees and Videos, Part 1

Insert moving pictures into product descriptions and blog posts.

Videos everywhere! Out of the box, a thirty bees installation almost looks like it didn’t support them. As a matter of course, thirty bees does support video content; one just has to know how to do it. Let’s have a look on how to embed moving pictures into product descriptions.

By Markus “Traumflug” Hitter
; last modified

Embedding Portal Videos

Portal Videos here means videos already published on video portals like Vimeo, YouTube, Twitch and similar platforms. They can be embedded into any field using HTML, for example product descriptions.

Caveat with embedded portal videos: they report back to that portal, which isn’t GDPR compliant without user consent.

One can also embed local video content, which doesn’t require user consent even under GDPR regulations. How to do that is topic of thirty bees and Videos, Part 2.

Step 1: Enable iframes

iframes allow to embed content of other web pages on the own page. thirty bees disallows them by default, because they can pose a security risk when used unsuspectingly.

Allowing iframes is easy: go to back office -> Preferences -> General and enable the switch labeled Allow iframes on HTML fields:

The iframe switch in back office.

Don’t forget to click Save on this panel to finish up.

Step 2: Find the Right HTML Code

This is another pitfall one can easily trip over. URLs for embedded videos are usually distinct from the the URL in the browser directly. Kind enough, portals provide the right link, one just has to look up the right place.

In all portals I’ve looked up, there is a Share button somewhere, which brings up a dialog. In this dialog is a field or another button, Embed. There one can see some HTML code starting with <iframe .... This is the code we need.

A few examples:


On Vimeo, HTML code is provided right after clicking on the Share button (paper plane icon) top right in a stopped video. There’s more code provided than needed, copy just the part starting with <iframe and ending with </iframe>:

iframe code on Vimeo


On YouTube, finding HTML code is a two step process. After clicking on SHARE in the menu below the video one sees the dialog shown here on the left. After a click on Embed, the dialog shown here on the right follows and provides the iframe code:

iframe code 1 on YouTube iframe code 2 on YouTube


On Twitch, finding HTML code is also a two step process. After clicking on the Share button right below the video, one sees the dialog shown here on the left. After a click on Embed (second button from the right), the dialog shown here on the right follows and provides the iframe code. Notice the scroll bar, the whole line is needed:

iframe code 1 on Twitch iframe code 2 on Twitch

Step 3: Insert HTML Code into the Product Description

As merchants using thirty bess probably know already, one edits product descriptions in back office, at menu -> Catalog -> Products, then one clicks on the product to edit.

Steps there are shown in the next screenshot:

  1. Scroll down to Description and click on Source code.
  2. See the source code dialog.
  3. Copy the iframe code as-is into the source code field where needed. Doesn’t have to be at the bottom. Then click Ok.
  4. On success, the Description field now shows a video placeholder.

Embedding a video in a product page 1 Embedding a video in a product page 2 Embedding a video in a product page 3 Embedding a video in a product page 4

Again, don’t forget to click Save or Save and stay at the bottom of the panel to finish up.

Enjoy the Result!

That’s all! Now one can look up front office, the public shop, and watch the video:

Video on a thirty bees product page

Let’s Get In Touch!

Questions? Send us an email and we will get back to you as soon as possible.