How to make use of the simple, yet powerful SmartVideo tag
If you do not have the SmartVideo script installed in your site's header, venture over to the Install SmartVideo on your site collection in our Help Center and choose the platform your site is built on. Once you've installed the script, head back to this page to learn about our SmartVideo tag.
If you do have our script installed in your site's header, keep reading to learn how to take advantage of the power of our SmartVideo tag!
The SmartVideo tag is the optimal way to use our delivery platform on your site if you aren't taking advantage of our WordPress plugin.
When you should use it:
-
You don't have our plugin for WordPress installed
-
You want the absolute fastest load times for your pages and videos
- You want the most resilient, accelerated playback experience available
How to use it:
The script you installed in your site's header includes everything necessary for creating a professional video experience on your site. The SmartVideo tag unlocks our video player, optimizing video playback on your site. An example of what the SmartVideo player looks like in live demo form can be seen at swarmify.com. To utilize our player, just insert the following HTML wherever you want your videos to appear:
<smartvideo src="path/to/my/video.mp4"
width="1280" height="720"
class="swarm-fluid" controls>
</smartvideo>
Our script installed in your site's header will serve an accelerated, clean video experience to your visitors wherever it sees a SmartVideo tag.
Please note: If you choose to use YouTube as the original video source location, be aware of two important items below.
- If your videos are set to "private," change them to "unlisted" instead. This ensures Swarmify can see the file to begin fetching and processing.
- Make sure you are using the correct URL type. The source URL from YouTube must be the embed link. For example:
Good: | https://www.youtube.com/embed/wBp0Rb-ZJak |
Bad: |
https://www.youtube.com/watch?v=wBp0Rb-ZJak (this links to the page, and not the video itself, so it won't work) |
If you are not using YouTube or Vimeo, SmartVideo supports importing from (tutorials linked):
- WordPress Media Library,
- Amazon S3,
- Google Cloud Storage,
- Wasabi,
- Dropbox,
- Google Drive,
- and even pCloud
For help configuring the SmartVideo tag for your site's needs, visit our SmartVideo tag options article.
Thanks for being a Swarmify subscriber! 🐝
Keywords: add smart video tags , add smartvideo tags , adding a smartvideo , adding a smart video