HDOnTap

Embed Security/Trusted Hosts

Updated 1 min read

Overview

You can control where your stream can be embedded by setting up Stream Security. With Stream Security set up, you can display a customized image when your stream is embedded on an unauthorized site, as well as redirect viewers to the website of your choice:
“Oops! This website is not authorized to play the live stream” message with the HDOnTap logo

Prerequisites

  • You must have your Portal login. Contact your Customer Administrator or HDOnTap Support if you need assistance with your Portal credentials.

Step-by-step instructions

1. Log in to the HDOnTap Portal and navigate to Streaming > Embed Configs:

Portal dashboard with the Streaming tile highlighted

Portal Streaming menu with Embed Configs highlighted

If you are creating a new embed config, see Customizing the Webcam Stream Embed. If you are editing an existing embed config, click the edit icon Edit icon for that config. In either case, set your security preferences in the Stream Security section:

Embed config with an arrow pointing to the Stream Security section
Stream Security section with empty Trusted Hosts, URL When Stream Blocked and Blocked Image fields

2. Enter the website(s) authorized to embed your stream in the Trusted Hosts field. Enter your domain without the “http://”, both with and without the “www.”, separated by a comma. Subdomains need to be explicitly included.
For example: hdontap.com, www.hdontap.com, livecam.hdontap.com

Special Instructions for Wix Websites:
If you are placing your embed on a Wix website, you will need to whitelist the following URLs, replacing “somename” with your Wix site name:

  • somename.filesusr.com
  • somename-wixsite-com.filesusr.com

Trusted Hosts field containing hdontap.com, www.hdontap.com and livecam.hdontap.com

3. In the URL When Stream Blocked field, enter the link viewers will be directed to when they click in the window if the stream is blocked.
Tip: We recommend you use the URL for the page on your website where your stream is embedded.

URL When Stream Blocked field

4. Select the image that will display when your stream is embedded on an unauthorized page in the Blocked Image drop-down.
Note: We have created the “Oops! Not Authorized” message for your convenience; however, you may upload a custom image if you prefer. Learn how to upload images.

Blocked Image field showing the Oops Not Authorized image

5. Click Save or Save Changes when finished.

Still need help?

Contact the HDOnTap support team at [email protected] or submit a support request.