Playback Restrictions allows you to set additional rules for playing videos. You can set the domains/hostnames allowed to play your videos. For instance, viewers can play videos embedded on the https://example.com
website when you set the Playback Restrictions with example.com
as an allowed domain. Any Video requests from other websites are denied. Additionally, you can set rules for what user agents to allow. Please see Using User-Agent HTTP header for validation for more details on this feature.
Unique identifier for the Playback Restriction. Max 255 characters.
Time the Playback Restriction was created, defined as a Unix timestamp (seconds since epoch).
Time the Playback Restriction was last updated, defined as a Unix timestamp (seconds since epoch).
A list of domains allowed to play your videos.
List of domains allowed to play videos. Possible values are
[]
Empty Array indicates deny video playback requests for all domains["*"]
A Single Wildcard *
entry means allow video playback requests from any domain["*.example.com", "foo.com"]
A list of up to 10 domains or valid dns-style wildcardsA boolean to determine whether to allow or deny HTTP requests without Referer
HTTP request header. Playback requests coming from non-web/native applications like iOS, Android or smart TVs will not have a Referer
HTTP header. Set this value to true
to allow these playback requests.
Rules that control what user agents are allowed to play your videos. Please see Using User-Agent HTTP header for validation for more details on this feature.
Whether or not to allow views without a User-Agent
HTTP request header.
Whether or not to allow high risk user agents. The high risk user agents are defined by Mux.