Title: YouTube
Last modified: June 15, 2026

---

# YouTube

 *  [James](https://wordpress.org/support/users/james-feaver/)
 * (@james-feaver)
 * [1 day, 16 hours ago](https://wordpress.org/support/topic/youtube-38/)
 * Hi Fabio,
 * On pages where I have YouTube videos embedded, I wanted to improve the design
   when a site visitor has rejected marketing cookies. At the moment, my site shows
   a big gap, a YouTube icon, a message “This content is blocked because YouTube
   cookies have not been accepted.” and a small “Accept cookies button” ([https://prnt.sc/9p3XcErjdrQ-](https://prnt.sc/9p3XcErjdrQ-)).
   Looking carefully, there is a better design but it only appears for a moment 
   before disappearing ([https://prnt.sc/ixSd-OCoj8PS](https://prnt.sc/ixSd-OCoj8PS)).
   I have removed my child theme style.css to check it is not anything I am doing,
   plus deactivated all plugins except yours (and WooCommerce and Wordfence) and
   also swapped to the Twenty Twenty-Five theme and the behaviour is consistent.
 * Thanks,
 * James
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fyoutube-38%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [fabiodalez](https://wordpress.org/support/users/fabiodalez/)
 * (@fabiodalez)
 * [1 day, 10 hours ago](https://wordpress.org/support/topic/youtube-38/#post-18938894)
 * Hi James, must be your lucky day, because I was literally working on this exact
   thing when your message came in.
 * First off, thank you for the report. Stripping the child theme CSS, disabling
   the other plugins and switching to Twenty Twenty-Five before writing in saved
   me a lot of guessing and pointed straight at the cause, so I really appreciate
   it.
 * You diagnosed it perfectly: the nicer design you saw flash for a moment was the
   real placeholder, and then it collapsed into the bare box with the small button.
   The placeholder’s styling was being shipped inside the same little style block
   that the consent script removes once the banner finishes loading, so the instant
   the script ran it took the placeholder’s styling away with it. The card itself
   was always there, it just lost its look a fraction of a second after the page
   loaded, which is exactly the flash you noticed.
 * I have fixed it so the placeholder keeps its styling for good now, and while 
   I was in there I gave it a proper refresh too: a clean card with the provider’s
   own play button and brand colour (the YouTube red button, blue for Vimeo, and
   so on), a clear message and an Accept button. No third party is contacted before
   consent, so it stays privacy friendly.
 * A new version with the fix is going out tomorrow. Once it lands, please update
   the plugin, hard refresh the page (or clear any caching) and you should see the
   tidy placeholder staying put. If anything still looks off on your end, just reply
   here and I will take another look.
 * Thanks again for the great report and for using the plugin.
 * Best,
   Fabio

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fyoutube-38%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/faz-cookie-manager/assets/icon-256x256.jpg?rev=3519691)
 * [FAZ Cookie Manager](https://wordpress.org/plugins/faz-cookie-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/faz-cookie-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/faz-cookie-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/faz-cookie-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/faz-cookie-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/faz-cookie-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [fabiodalez](https://wordpress.org/support/users/fabiodalez/)
 * Last activity: [1 day, 10 hours ago](https://wordpress.org/support/topic/youtube-38/#post-18938894)
 * Status: not resolved