Controlling cookies in player using the REST API

Last Updated 23 days ago

It is possible to control which cookies the player can set using the REST API and the allowedcookies parameter.

An option is to fetch a completely cookieless player by setting the parameter an empty sting:

curl "https://rest.screen9.com/123456/videos/DqCsvA8McDeg1onWaRz_Mw/embed?allowedcookies="

This would result in a response similar to:

{"id": "DqCsvA8McDeg1onWaRz_Mw", "embed": "<iframe allow=\"autoplay; fullscreen\" allowfullscreen height=\"360\" referrerpolicy=\"no-referrer-when-downgrade\" src=\"}

This website relies on cookies to function, but no personal data is ever stored in the cookies.
OK

Loading ...