Viewing 1 replies (of 1 total)
  • TheDamian

    (@thedamian)

    I added this filter to my theme’s functions.php:

    /** change the YITH WooCommerce Featured Video embed string to include rel=0 */
    add_filter('woocommerce_single_product_image_html', 'add_yt_rel', 30, 1);
    function add_yt_rel($text) {
    	$return = str_replace('wmode=transparent', 'wmode=transparent&rel=0', $text);
    	return $return;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Don't show related posts at end of youtube videos’ is closed to new replies.