| @@ -1048,9 +1048,9 @@ | ||
| 1048 | 1048 | |
| 1049 | 1049 | if ( $is_static_render_mode ) { |
| 1050 | 1050 | $video_html = Embed::get_embed_thumbnail_html( $video_url, $post_id ); |
| 1051 | 1051 | // YouTube API requires a different markup which was set above. |
| 1052 | - } elseif ( 'youtube' !== $settings['video_type'] ) { | |
| 1052 | + } else if ( 'youtube' !== $settings['video_type'] ) { | |
| 1053 | 1053 | $video_html = Embed::get_embed_html( $video_url, $embed_params, $embed_options ); |
| 1054 | 1054 | } |
| 1055 | 1055 | } |
| 1056 | 1056 | |