Embed a Camera's Live Stream on a Website

Learn how to embed a live stream of a camera on your website

Verkada cameras let you embed a live stream of a camera on your website. The embed is an inline frame (iframe) code snippet that is compatible with any webpage.

circle-exclamation

1

In Verkada Command, go to All Products > Cameras.

2

Navigate to the camera feed you want to embed on your website.

3

At the right side of the frame, click Share.

  • Read the video sharing terms and conditions. If you agree, click I Agree.

  • In the bottom left, click More options > Embed Code.

  • Enter the domain(s) where you want to authorize video to play.

  • Click Embed Link > Done.

circle-exclamation
circle-info

Wildcards are accepted (for example, *.yourdomain.com). If your domain is yourdomain.com, you don’t need the preceding wildcard and can simply use yourdomain.com. However, if your domain is yoursubdomain.yourdomain.com, you can use the wildcard to specify the subdomain.


1

In Verkada Command, go to All Products > Admin.

2

Select Login & Access > Manage Shared Links.

3

Select the Embedded tab.

4

On the right side of your link:

  • Click code to code the embed code.

  • Click trash-can to revoke the embed.


Resize Embedded Video Streams

Embedded camera feeds can be resized on your webpage by adjusting the width, height, and widescreen attributes.

circle-exclamation

Show the embed in widescreen

To make the embed appear in widescreen, use the ?widescreen=1 parameter in the URL, as shown:

The embed on the left is standard, whereas the embed on the right has the widescreen=1 query parameter:


When a user loads a webpage that contains a Verkada-embedded live stream, the page loads the URL of the embed in an iframe.

circle-exclamation

Resolve embeds that don’t load

1

Find the referring website so you can specify a matching domain name when creating the embed.

3

Place the new embed on your website.

Find the referring website

1

On the webpage where you placed the embed, right-click in your browser and select Inspect. This will be a black screen because the embed will not load.

2

At the top, click Network.

3

In the search/filter bar, type "embed" ( to filter for embed-related requests.

4

Click the request with the alphanumeric ID, which should have a similar format to the example shown below.

5

Under the Request Headers section, find the Referrer URL. This is the URL/domain you need to put into Verkada Command. (You only need up to the top-level domain, such as .com. In the example, the referring domain is verkadasupport.com.)

circle-exclamation

Re-create the embed using the correct domain name

1

In Verkada Command, go to All Products > Cameras.

2

Select the camera and click Share.

3

Select More options > click Embed Code and enter in your referrer domain.

4

Click Embed Link.

Place new embed on your website

1

Copy the new embed link you just created in the previous procedure.

2

Go to your site’s Admin portal.

3

Paste the HTML embed iframe where you want the embed to live on your site.

4

Save and open the site and ensure it works.

Last updated

Was this helpful?