PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.14.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.14.0
2.14.0 2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 All 81 releases
← All changes | includes/blocks/video/attributes.php +12 -4 2.9.1 → 2.14.0 View file →
@@ -1,6 +1,10 @@
1 1 <?php
2 2
3 +if ( ! defined( 'ABSPATH' ) ) {
4 + exit;
5 +}
6 +
3 7 use ABlocks\Controls\CssFilter;
4 8
5 9 $attributes = [
6 10 'block_id' => [
@@ -6,19 +10,23 @@
6 10 'block_id' => [
7 11 'type' => 'string',
8 12 'default' => '',
9 13 ],
14 + 'blockVersion' => array(
15 + 'type' => 'number',
16 + 'default' => '',
17 + ),
10 18 'videoSource' => [
11 19 'type' => 'string',
12 20 'default' => 'youtube',
13 21 ],
14 22 'videoStartTime' => [
15 - 'type' => 'string',
16 - 'default' => '',
23 + 'type' => 'number',
24 + 'default' => 0,
17 25 ],
18 26 'videoEndTime' => [
19 - 'type' => 'string',
20 - 'default' => '',
27 + 'type' => 'number',
28 + 'default' => 0,
21 29 ],
22 30 'videoUrl' => [
23 31 'type' => 'string',
24 32 'default' => '',