PluginProbe
Elementor Website Builder – more than just a page builder / 3.35.8
Elementor Website Builder – more than just a page builder v3.35.8
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
← All changes | includes/elements/container.php +6 -6 4.2.33.35.8 View file →
@@ -202,9 +202,9 @@
202 202 if ( ! $settings['background_video_link'] ) {
203 203 return;
204 204 }
205 205
206 - $is_embed_video = Embed::is_embed_video( $settings['background_video_link'] );
206 + $video_properties = Embed::get_video_properties( $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 ( $is_embed_video ) : ?>
220 + <?php if ( $video_properties ) : ?>
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 - '' => ' ' . esc_html__( 'Default', 'elementor' ),
1416 + '' => ' Default',
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' => esc_html__( 'Custom', 'elementor' ),
1429 + 'custom' => 'Custom',
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 - '' => ' ' . esc_html__( 'Default', 'elementor' ),
1460 + '' => ' Default',
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' => esc_html__( 'Custom', 'elementor' ),
1473 + 'custom' => 'Custom',
1474 1474 ],
1475 1475 'selectors' => [
1476 1476 '{{WRAPPER}}' => 'grid-row: span {{VALUE}};',
1477 1477 ],