General Data Protection Regulation and YouTube
Important issue:
on 25 May 2018 the new General Data Protection Regulation becomes enforceable in the EU. It will be forbidden to embed Youtube videos without the nocookie link. There are plugins in Wordpress to change all Youtube urls to youtube-nocookies.com, but this does not work with the muffin builder. Are you planing to add this function to the video item? That would be great!
Comments
thanks for your suggestion, I will pass this concern to the dev team.
cheers
$options = shortcode_atts( array (
'id' => ''), $atts );
$output = '<div class="responsive-video"><iframe width=""
height=""
src="https://www.youtube-nocookie.com/embed/'.$options['id'].'"
frameborder="0" allow="autoplay; encrypted-media"
allowfullscreen></iframe></div>';
return ($output);
}
add_shortcode( 'youtube_nocookie', 'youtube_nocookie_shortcode' );