Setup & Installation

Using a standard HTML video tag with SmartVideo

Updated June 9, 2025

Sometimes your website, or content management system doesn’t allow inserting special HTML tags like our SmartVideo element. No problem, we have you covered.

You can use a standard <video> tag with a special CSS class, ‘smartvideo’, that will indicate to our system that it should behave as if it were a <smartvideo> tag.

Example Snippet showing video element syntax

<video src="video.mp4" width="1280" height="720" class="smartvideo swarm-fluid" controls></video>  

What you will notice is that this looks exactly like our example <smartvideo> tags. But now as a standard <video> tag with the added CSS class: ‘smartvideo’. Simple as that!

 

When using this syntax, the tag supports all of the same options as the original SmartVideo tag. So that means you can set it to autoplay, muted, etc.

Get SmartVideo live on your site

Set it up on WordPress, Shopify, Squarespace, or any platform in a few minutes.

14-day free trial · No charge until day 15