https the oembed url
This commit is contained in:
parent
c325ebfb2e
commit
a74ccdb4d1
|
@ -177,7 +177,7 @@ class WC_Admin_Help {
|
|||
}
|
||||
|
||||
if ( isset( $video_map[ $video_key ] ) ) {
|
||||
$embed_code = str_replace( '?feature=oembed', '?feature=oembed&modestbranding=1&scolor=white', wp_oembed_get( 'http://www.youtube.com/watch?v=' . $video_map[ $video_key ]['id'], array( 'width' => '420px' ) ) );
|
||||
$embed_code = str_replace( '?feature=oembed', '?feature=oembed&modestbranding=1&scolor=white', wp_oembed_get( 'https://www.youtube.com/watch?v=' . $video_map[ $video_key ]['id'], array( 'width' => '420px' ) ) );
|
||||
|
||||
$screen->add_help_tab( array(
|
||||
'id' => 'woocommerce_guided_tour_tab',
|
||||
|
|
Loading…
Reference in New Issue