Skip to main content
All tutorials
Tutorial 03 5 min

Embedding a video on your website

Copy the snippet and paste it into any page builder, CMS, or HTML template. Works with WordPress, Webflow, Squarespace, and plain HTML.

The embed snippet

Every video has a unique embed snippet available from the video detail page. Click Copy embed to copy it to your clipboard.

<script src="https://simplevideo.eu/embed.js" data-id="your-video-id" async></script>

Place this tag anywhere in your page HTML where you want the player to appear. The script replaces the tag with a responsive player.

WordPress

In the block editor, add a Custom HTML block and paste the snippet. In a classic editor, switch to the Text tab and paste directly into the content area.

Webflow

In the Webflow designer, add an Embed element to your page and paste the snippet into the code field. Publish the page for the change to take effect.

Squarespace

Add a Code block to your page and paste the snippet. Make sure Display Source is turned off.

Plain HTML

Paste the snippet directly into your HTML file at the point where you want the player. No additional dependencies or configuration are needed.

Sizing and layout

The player is responsive by default and fills the width of its container. Wrap it in a div with a fixed width if you need to constrain the player size.

<div style="max-width: 720px;">
  <script src="https://simplevideo.eu/embed.js" data-id="your-video-id" async></script>
</div>