| @@ -202,9 +202,9 @@ | ||
| 202 | 202 | if ( ! $settings['background_video_link'] ) { |
| 203 | 203 | return; |
| 204 | 204 | } |
| 205 | 205 | |
| 206 | - $video_properties = Embed::get_video_properties( $settings['background_video_link'] ); | |
| 206 | + $is_embed_video = Embed::is_embed_video( $settings['background_video_link'] ); | |
| 207 | 207 | |
| 208 | 208 | $this->add_render_attribute( |
| 209 | 209 | 'background-video-container', |
| 210 | 210 | [ |
| @@ -216,9 +216,9 @@ | ||
| 216 | 216 | $this->add_render_attribute( 'background-video-container', 'class', 'elementor-hidden-mobile' ); |
| 217 | 217 | } |
| 218 | 218 | |
| 219 | 219 | ?><div <?php $this->print_render_attribute_string( 'background-video-container' ); ?>> |
| 220 | - <?php if ( $video_properties ) : ?> | |
| 220 | + <?php if ( $is_embed_video ) : ?> | |
| 221 | 221 | <div class="elementor-background-video-embed" role="presentation"></div> |
| 222 | 222 | <?php |
| 223 | 223 | else : |
| 224 | 224 | $video_tag_attributes = 'autoplay muted playsinline'; |
| @@ -1412,9 +1412,9 @@ | ||
| 1412 | 1412 | [ |
| 1413 | 1413 | 'label' => esc_html__( 'Column Span', 'elementor' ), |
| 1414 | 1414 | 'type' => Controls_Manager::SELECT, |
| 1415 | 1415 | 'options' => [ |
| 1416 | - '' => ' Default', | |
| 1416 | + '' => ' ' . esc_html__( 'Default', 'elementor' ), | |
| 1417 | 1417 | '1' => '1', |
| 1418 | 1418 | '2' => '2', |
| 1419 | 1419 | '3' => '3', |
| 1420 | 1420 | '4' => '4', |
| @@ -1425,9 +1425,9 @@ | ||
| 1425 | 1425 | '9' => '9', |
| 1426 | 1426 | '10' => '10', |
| 1427 | 1427 | '11' => '11', |
| 1428 | 1428 | '12' => '12', |
| 1429 | - 'custom' => 'Custom', | |
| 1429 | + 'custom' => esc_html__( 'Custom', 'elementor' ), | |
| 1430 | 1430 | ], |
| 1431 | 1431 | 'selectors' => [ |
| 1432 | 1432 | '{{WRAPPER}}' => 'grid-column: span {{VALUE}};', |
| 1433 | 1433 | ], |
| @@ -1456,9 +1456,9 @@ | ||
| 1456 | 1456 | [ |
| 1457 | 1457 | 'label' => esc_html__( 'Row Span', 'elementor' ), |
| 1458 | 1458 | 'type' => Controls_Manager::SELECT, |
| 1459 | 1459 | 'options' => [ |
| 1460 | - '' => ' Default', | |
| 1460 | + '' => ' ' . esc_html__( 'Default', 'elementor' ), | |
| 1461 | 1461 | '1' => '1', |
| 1462 | 1462 | '2' => '2', |
| 1463 | 1463 | '3' => '3', |
| 1464 | 1464 | '4' => '4', |
| @@ -1469,9 +1469,9 @@ | ||
| 1469 | 1469 | '9' => '9', |
| 1470 | 1470 | '10' => '10', |
| 1471 | 1471 | '11' => '11', |
| 1472 | 1472 | '12' => '12', |
| 1473 | - 'custom' => 'Custom', | |
| 1473 | + 'custom' => esc_html__( 'Custom', 'elementor' ), | |
| 1474 | 1474 | ], |
| 1475 | 1475 | 'selectors' => [ |
| 1476 | 1476 | '{{WRAPPER}}' => 'grid-row: span {{VALUE}};', |
| 1477 | 1477 | ], |