https the oembed url

This commit is contained in:
claudiulodro 2017-09-25 14:48:05 -07:00
parent c325ebfb2e
commit a74ccdb4d1
1 changed files with 1 additions and 1 deletions

View File

@ -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',