{"id":192869,"date":"2024-05-28T18:59:51","date_gmt":"2024-05-28T18:59:51","guid":{"rendered":"https:\/\/en-gb.wordpress.org\/plugins\/embed-consent\/"},"modified":"2025-11-29T03:42:59","modified_gmt":"2025-11-29T03:42:59","slug":"embed-consent","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/embed-consent\/","author":22031178,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.1","stable_tag":"1.1.1","tested":"6.9.4","requires":"6.1.1","requires_php":"7.4","requires_plugins":null,"header_name":"Embed Consent","header_author":"Sam Clarke","header_description":"Replaces embed blocks with a confirmation to ask for consent before loading third-party resources.","assets_banners_color":"","last_updated":"2025-11-29 03:42:59","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1381,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"wpsamclarke","date":"2024-05-28 19:04:08"},"1.0.1":{"tag":"1.0.1","author":"wpsamclarke","date":"2024-08-16 14:07:06"},"1.1.0":{"tag":"1.1.0","author":"wpsamclarke","date":"2024-11-13 00:56:01"},"1.1.1":{"tag":"1.1.1","author":"wpsamclarke","date":"2025-11-29 03:42:59"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3094109,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3094109,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.1.0","1.1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3094109,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3094109,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3094109,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3094109,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"Asking user for consent","2":"Consent given and content loaded","3":"Asking user for consent with always load opt-in shown","4":"Dark theme"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[20011,230,131785,2874,396],"plugin_category":[54,56],"plugin_contributors":[228180],"plugin_business_model":[],"class_list":["post-192869","plugin","type-plugin","status-publish","hentry","plugin_tags-consent","plugin_tags-embed","plugin_tags-gdpr","plugin_tags-oembed","plugin_tags-privacy","plugin_category-security-and-spam-protection","plugin_category-social-and-sharing","plugin_contributors-wpsamclarke","plugin_committers-wpsamclarke"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/embed-consent\/assets\/icon-128x128.png?rev=3094109","icon_2x":"https:\/\/ps.w.org\/embed-consent\/assets\/icon-256x256.png?rev=3094109","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/embed-consent\/assets\/screenshot-1.png?rev=3094109","caption":"Asking user for consent"},{"src":"https:\/\/ps.w.org\/embed-consent\/assets\/screenshot-2.png?rev=3094109","caption":"Consent given and content loaded"},{"src":"https:\/\/ps.w.org\/embed-consent\/assets\/screenshot-3.png?rev=3094109","caption":"Asking user for consent with always load opt-in shown"},{"src":"https:\/\/ps.w.org\/embed-consent\/assets\/screenshot-4.png?rev=3094109","caption":"Dark theme"}],"raw_content":"<!--section=description-->\n<p>This plugin replaces embed blocks with a confirmation that prevents loading any third party resources until the user has given their consent.<\/p>\n\n<p>It enhances the built-in embed block and will automatically work with any current embeds. If the plugin is disabled\/removed, all embeds will continue to work there will just be no consent confirmation.<\/p>\n\n<p>Currently, the plugin only works with the Gutenberg <code>core\/embed<\/code> block.<\/p>\n\n<p>The currently supported embed providers are:<\/p>\n\n<ul>\n<li>Amazon<\/li>\n<li>Animoto<\/li>\n<li>Cloudup<\/li>\n<li>Crowdsignal<\/li>\n<li>DailyMotion<\/li>\n<li>Flickr<\/li>\n<li>Imgur<\/li>\n<li>Issuu<\/li>\n<li>Kickstarter<\/li>\n<li>Mixcloud<\/li>\n<li>Pinterest<\/li>\n<li>Pocket Casts<\/li>\n<li>Reddit<\/li>\n<li>ReverbNation<\/li>\n<li>Screencast<\/li>\n<li>Scribd<\/li>\n<li>Slideshare<\/li>\n<li>SmugMug<\/li>\n<li>SoundCloud<\/li>\n<li>Speaker Deck<\/li>\n<li>Spotify<\/li>\n<li>TED<\/li>\n<li>TikTok<\/li>\n<li>Tumblr<\/li>\n<li>Twitter<\/li>\n<li>VideoPress<\/li>\n<li>Vimeo<\/li>\n<li>Wolfram<\/li>\n<li>WordPress.tv<\/li>\n<li>YouTube<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>Wordpress.org installation:<\/p>\n\n<ol>\n<li>In your Wordpress dashboard, go to Plugins -&gt; Add New Plugin<\/li>\n<li>Search for \"Embed Consent\"<\/li>\n<li>Click \"Install now\"<\/li>\n<li>Go to Plugins -&gt; Installed plugins and click \"activate\" to enable the plugin.<\/li>\n<\/ol>\n\n<p>Manual installation:<\/p>\n\n<ol>\n<li>Upload plugin files to the \/wp-content\/plugins\/embed-consent directory.<\/li>\n<li>In your Wordpress dashboard, go to Plugins -&gt; Installed plugins and click \"activate\" to enable the plugin.<\/li>\n<\/ol>\n\n<p>To allow users to opt-in to always loading a provider:<\/p>\n\n<ol>\n<li>Go to Settings -&gt; Embed Consent and enable the \"Show always load opt-in\" setting.<\/li>\n<li>Add the shortcode <code>[embed_consent_opt_out]<\/code> to your privacy policy to allow users to opt-out again.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20does%20it%20work%3F'><h3>How does it work?<\/h3><\/dt>\n<dd><p>This plugin filters the output of <code>core\/embed<\/code> blocks to add a consent message and prevent loading any third-part resources until consent is given.<\/p><\/dd>\n<dt id='what%20happens%20to%20embeds%20if%20i%20disable%2Fremove%20this%20plugin%3F'><h3>What happens to embeds if I disable\/remove this plugin?<\/h3><\/dt>\n<dd><p>They will continue to work as normal there will just be no consent message shown.<\/p><\/dd>\n<dt id='can%20users%20opt-in%20to%20always%20loading%20a%20provider%3F'><h3>Can users opt-in to always loading a provider?<\/h3><\/dt>\n<dd><p>Yes, there is a setting to allow users to opt-in to always loading a provider by showing a checkbox below the consent button.<\/p><\/dd>\n<dt id='can%20users%20opt-out%20again%20from%20always%20loading%20a%20provider%3F'><h3>Can users opt-out again from always loading a provider?<\/h3><\/dt>\n<dd><p>Yes, add the shortcode <code>[embed_consent_opt_out]<\/code> to your privacy policy which will allow opting out.<\/p>\n\n<p>Alternatively, disabling the setting which allows users to opt-in to always loading will disable always loading.<\/p><\/dd>\n<dt id='does%20it%20work%20with%20caching%3F'><h3>Does it work with caching?<\/h3><\/dt>\n<dd><p>Yes, it has been tested with WP Super Cache and there should be no issues with other caching plugins.<\/p>\n\n<p>When changing settings in the admin area, you may need to clear the cache for the changes to take effect.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Fix issue with URLs being set before translations are loaded<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Add a filter for the consent template <code>embed_consent_consent_template<\/code> which allows replacing the embed template.\n&#045; Thanks to @tkcknost<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fix missing light \/ dark theme example images<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Replaces embed blocks with a confirmation to ask for consent before loading third-party resources.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/192869","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=192869"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpsamclarke"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=192869"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=192869"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=192869"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=192869"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=192869"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=192869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}