@@ -42,4 +42,9 @@ function dw_oembed_filter($html, $url, $attr, $post_ID) {
}
add_filter( 'embed_oembed_html', 'dw_oembed_filter', 10, 4 ) ;
+function dw_embed_oembed_html( $html ) {
+ return preg_replace( '@src="https?:@', 'src="', $html );
+}
+add_filter( 'embed_oembed_html', 'dw_embed_oembed_html' );
+
?>