Adding videos to your website is easy. Each of our templates uses the same building blocks, so if there's not already an example video on the website you've chosen, simply add the video block to get started.

Adding videos

1. Envato Sites does not offer video hosting, so need upload your videos to YouTube or Vimeo.

2. Copy the URL or the video's "Sharing link" 

3. Add a new block to your website or select the Edit Toolbar on any existing block that features a video

4. In the Edit Toolbar, ensure that the "Media type" is set to "Video" 

5. Then paste in the video's URL (or sharing link) 

Setting up video autoplay

You can make a video play automatically when a customer visits your website by adding some simple code to the video URL. 

Some browsers have recently tightened control over whether to allow autoplaying media. To have your video play automatically you will also need to automatically mute it too. 

Here's how:

This is the URL of the Building a Website with Envato at Pause Fest video: https://www.youtube.com/watch?v=SF4aHwxHtZ0

To make it play automatically, add "?autoplay=1&mute=1" to the end of the URL. These are called parameters. 

Our example URL will become:
https://www.youtube.com/watch?v=SF4aHwxHtZ0&autoplay=1&mute=1

Other video playback options

YouTube have a list of parameters that you can use on the video on your website. They're available here.

Did this answer your question?