Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Youtube z-index

@hnla

Participant

As I thought we had covered something similar to this in the distant past:
https://buddypress.org/support/topic/set-wmodetransparent-for-oembed-plugin/

Based on that I’ve re-worked things to something a lot lot simpler which appears to work, but testing in these circs is going to be minimal so there may be issues – this would be dropped into your functions.php file in theme.


function ie_oembed_wmode( $embed ) {
											
   $embed = str_replace( '?feature=oembed', '?feature=oembed&wmode=opaque', $embed); 
	
   return $embed;
}
add_filter( 'embed_oembed_html', 'ie_oembed_wmode', 15 );
Skip to toolbar