[Twenty Seventeen] Disable Header Video until Cookie Consent is given
-
Hello,
I have a somewhat tricky question. WP allows for Youtube header videos and my site uses this feature within a highly customized Twenty Seventeen theme. With respect to the GDPR, I want to enable the header video only, if the user accepted the cookie notice. If not – and also, before the consent is given – I want to show the still image for the header.
I looked into the documentation, but I found no filter or something else to disable/enable the header video programmatically. Anybody here with some voodo skills around header videos?
Addition: Since my site implements static page caching, the solution must use CSS/JS, not PHP.
Best regards
Oliver
- Dieses Thema wurde geändert vor 5 Jahren, 7 Monaten von .
- Dieses Thema wurde geändert vor 5 Jahren, 7 Monaten von .
Die Seite, für die ich Hilfe brauche: [Anmelden, um den Link zu sehen]
Ansicht von 1 Antwort (von insgesamt 1)
Ansicht von 1 Antwort (von insgesamt 1)
- Das Thema „[Twenty Seventeen] Disable Header Video until Cookie Consent is given“ ist für neue Antworten geschlossen.