FastPix lets you control exactly where and how your videos can be played - whether you’re securing premium content, limiting access to trusted domains, or blocking certain browsers or apps. You can apply playback restrictions at three points in your workflow:
For existing media, you can update restrictions at any time using:
These controls give you fine-grained protection by limiting access by domain or by user agent.
You can define restrictions directly into your media creation request (Create media from URL).
Example request:
If you’re pushing media to FastPix (Upload media from device), include restrictions inside pushMediaSettings.
Example request:
When creating a playback ID, you can set their own restrictions, separate from the media’s default rules.
Example request:
Domain restrictions control which websites can embed or stream your content. Here’re the configuration options:
User agent restrictions filter access by browser, app, or device. Here’re the configuration options:
Note: User agent strings are case-sensitive.
Once playback restrictions are in place, you can review or adjust them without recreating your media or playback IDs. FastPix provides API endpoints to view current settings, update allowed/denied domains, or change user agent rules at any time.
Use this endpoint to retrieve a list of all playback IDs for a media item, along with the domain and user agent rules currently applied. This is useful for auditing access policies or confirming changes have taken effect.
Change which websites can embed or stream your content. You can switch the default policy, add/remove domains from the allow list, or block specific domains - all without impacting the media file itself.
Sample payload:
Adjust which browsers, apps, or devices can play your content. Use this to block suspicious crawlers, allow only specific app versions, or apply stricter rules for certain streams.
Sample payload:
LIMITATIONS
Playback restriction settings have a few boundaries to ensure consistent enforcement across the FastPix platform:
- Maximum 25 entries in allow or deny lists (per type).
- Only valid domain names are accepted (wildcards supported like *.example.com).
- User agent strings are case-sensitive and must match exactly.
If you’ve connected webhooks to your FastPix workspace, you can automatically receive notifications whenever domain or user agent restrictions are updated. This helps teams stay in sync, trigger automation workflows, or log changes for security audits.
Events sent:
video.playbackId.user-agents.updated – Fired when user agent restrictions are added, removed, or changed.
video.playbackId.domains.updated – Fired when domain restrictions are modified.
Before going live, verify that your rules behave as expected. Testing helps you catch configuration mistakes early and avoid blocking legitimate viewers.