Do Not Save Cookies

The doNotSaveCookies property limits data collection in the player.

jwplayer("myElement").setup({
    "playlist": "https://cdn.jwplayer.com/v2/playlists/{playlist_id}",
    ...
    "doNotSaveCookies": false
});
Property Description
doNotSaveCookies boolean Permits or prohibits the player from storing user IDs

Possible values:
  • false: (Default) User cookies are stored.
  • true: User cookies are not stored.

πŸ“˜

If a content management platform (CMP) is being used, "doNotSaveCookies": true can be set when a user has opted-out of cookie tracking to ensure that the player complies with the user's preference.

© 2007-2024 Longtail Ad Solutions, Inc.