Welcome to our Help Center 👋

Advanced SmartVideo tag options

SmartVideo tag configuration options for advanced users
Written by James Christensen
Updated 2 months ago

If you haven't checked out our Basic SmartVideo tag options article, you should do so, as >95% of use cases are are addressed by the options shared on that page. However, if you're an advanced user with a unique configuration need that is not met in that article, keep reading!


You might have noticed that controls is included in every SmartVideo tag. That's because, in the majority of cases, controls are desired so that a user is able to alter playback. To remove controls from the player, simply remove controls from the tag.

Pro tip: if you remove controls, make sure to set the video to autoplay (and muted to make sure autoplay works). If you don't, the user will have no way of beginning video playback.

<smartvideo src="path/to/my/video.mp4" width="1280" height="720" 
class="swarm-fluid" muted autoplay></smartvideo>

Play video inline

Safari on iOS forces videos to go fullscreen. Use playsinline to tell Safari not to.

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

Make player unresponsive (fixed dimensions)

Removing class="swarm-fluid" tells the player to maintain height and width no matter what changes are made to the size of the browser window.

<smartvideo src="path/to/my/video.mp4" width="1280" height="720" controls></smartvideo>

<smartvideo src="path/to/my/video.mp4" width="1280" height="720" 

That's it for our advanced SmartVideo tag options!

If you need even more advanced options, just reach out and we'll tell you what's possible!

Did this answer your question?