Geo blocking
Geo blocking in Flowplayer OVP allows or blocks access to your videos and livestreams based on the geographical location of the viewer, either for the whole workspace or per asset.
Table of contents
Types of geo blocking
We support two types of geo blocking:
- Workspace wide: the setting applies to all videos and livestreams of the workspace by default.
- Asset specific: an individual video or livestream overrides the workspace setting.
Workspace wide geo blocking
Flowplayer OVP allows you to set geo blocking on the whole workspace using the workspace settings. When you set geo blocking on the workspace, every asset (video or livestream) uses the workspace setting by default. There are three ways you can use geo blocking on the workspace:
- None (geo blocking is disabled)
- Allow (only the picked countries are allowed)
- Block (all countries are allowed except the picked ones)
How to geo block on the workspace level
1. Go to workspace settings

2. Set the type and pick the countries

3. Save the workspace settings
After you have picked the desired geo blocking type and locations, press the Update settings button to activate and apply the geo blocking.
Asset specific geo blocking
For a more fine-tuned use of geo blocking you can set asset (video or livestream) specific geo blocking. This sets the desired type of geo blocking on that specific asset:
- None (geo blocking is disabled)
- Workspace (use the workspace geo blocking setting) [default]
- Allow (only the picked countries are allowed)
- Block (all countries are allowed except the picked ones)
How to geo block on the asset level
1. Go to the metadata section of the desired video or livestream

2. Set the type and pick the countries (make sure the setting is not hidden)

3. Save the asset settings
After you have picked the desired geo blocking type and locations, press the Save changes button to activate and apply the geo blocking.
Geo blocking with the Platform API
Geo blocking for individual videos and livestreams can also be set with the Platform API through the geoblocking object when creating or updating them (POST/PUT /v3/videos and /v3/livestreams):
type:ALLOWorDENYthe countries inlocations,NONEto remove geo blocking for this asset even if the workspace has geo blocking, orFOLLOW_WORKSPACE(default) to use the workspace setting.locations: a list of countries as lowercase ISO 3166-1 alpha-2 codes, for example["se", "no"].