Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- previously the consent cookie was always set (to reject all cookies) prior to user choice - now that we're not doing that, the code that turns links to Youtube videos in govspeak content into embedded videos was checking for the consent cookie, not finding it, and defaulting to... true. - this meant that videos were appearing on a page before users had consented to cookies - setting the default value to false seems to be the simplest way to fix this. Videos still initialise automatically as before once cookies are consented to
- Loading branch information
1 parent
b34a892
commit d21cc1e
Showing
3 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters