If you are embedding videos on your own website, it is possible for others to copy the embed code from the source code for your page, and then embed the video on their own site. If you only want your video to appear on your website, you will need to use SproutVideo’s domain whitelisting feature called Allowed Domains. Allowed Domains enables you to limit where your embedded videos can play, even if someone takes the embed code from your page.
You can set Allowed Domains at the account-wide level, meaning it will apply to all the videos in your account, or you can set Allowed Domains for individual videos, which will override any account-wide Allowed Domains Settings.
To use Allowed Domains account-wide
First click on the ‘Account Settings’ link in the upper righthand side of the website and then click on the ‘Video Settings’ tab:
Then, scroll down until you see the Allowed Domains box and simply add in a list of domains or subdomains separated by commas for your site:
Scroll down to the bottom of the page and click ‘Save Playback Settings.’
To use Allowed Domains per video
First navigate to the video you wish to enable allowed domains for, then scroll down and click ‘Additional Video Settings’:
Select the ‘Domain’ button and add in a list of domains or subdomains separated by commas for your site:
Click ‘Save’ to apply your changes.
Domains and Subdomains
Wildcard (asterisks) are accepted for subdomains. An example list might be:
This list will allow your embedded videos to play on site1.com and www.site1.com (but not on any subdomains on site1.com), on any subdomain on site2.com (but not on site2.com) and only on the site3.com “videos” subdomain.
Please note: If you would like your video to play on example.com and www.example.com you must add both to this setting or use a wildcard: example.com,www.example.com or example.com,*.example.com
In order to allow playback on Facebook while using the Allowed Domains feature, you’ll need to add the following to your list of allowed domains:
In order to allow playback on Twitter while using the Allowed Domains feature, you’ll need to add the following to your list of allowed domains:
Check out these other articles in the Privacy and Password Protection section:
- What is Single Sign-On?
- Overview of Video Privacy Settings
- Overview of Privacy Settings for Customizable Video Websites Hosted by SproutVideo
- How to Change the Privacy Settings of a Video
- Change Privacy Settings for Multiple Videos at Once
- Who Can See Private Videos? Who Can See Public Videos?
- Password Protected Videos and How You Can Use Them