| @@ -31,19 +31,23 @@ | ||
| 31 | 31 | "block_id": { |
| 32 | 32 | "type": "string", |
| 33 | 33 | "default": "" |
| 34 | 34 | }, |
| 35 | + "blockVersion": { | |
| 36 | + "type": "number", | |
| 37 | + "default": "" | |
| 38 | + }, | |
| 35 | 39 | "videoSource": { |
| 36 | 40 | "type": "string", |
| 37 | 41 | "default": "youtube" |
| 38 | 42 | }, |
| 39 | 43 | "videoStartTime": { |
| 40 | - "type": "string", | |
| 41 | - "default": "" | |
| 44 | + "type": "number", | |
| 45 | + "default": 0 | |
| 42 | 46 | }, |
| 43 | 47 | "videoEndTime": { |
| 44 | - "type": "string", | |
| 45 | - "default": "" | |
| 48 | + "type": "number", | |
| 49 | + "default": 0 | |
| 46 | 50 | }, |
| 47 | 51 | "videoUrl": { |
| 48 | 52 | "type": "string", |
| 49 | 53 | "default": "" |
| @@ -549,9 +553,9 @@ | ||
| 549 | 553 | "xPositionUnitMobile": "px", |
| 550 | 554 | "xPosition": "", |
| 551 | 555 | "xPositionTablet": "0", |
| 552 | 556 | "xPositionMobile": "0", |
| 553 | - "yPositionUnit": "0", | |
| 557 | + "yPositionUnit": "px", | |
| 554 | 558 | "yPositionUnitTablet": "px", |
| 555 | 559 | "yPositionUnitMobile": "px", |
| 556 | 560 | "yPosition": "0", |
| 557 | 561 | "yPositionTablet": "0", |
| @@ -589,8 +593,34 @@ | ||
| 589 | 593 | "colorH": "", |
| 590 | 594 | "transitionDuration": "0" |
| 591 | 595 | } |
| 592 | 596 | }, |
| 597 | + "_gsapAnimation": { | |
| 598 | + "type": "object", | |
| 599 | + "default": { | |
| 600 | + "animationType": "none", | |
| 601 | + "duration": 1, | |
| 602 | + "delay": 0, | |
| 603 | + "triggerType": "scroll", | |
| 604 | + "ease": "none", | |
| 605 | + "x": 0, | |
| 606 | + "y": 0, | |
| 607 | + "rotation": 0, | |
| 608 | + "rotationY": 0, | |
| 609 | + "opacity": 1, | |
| 610 | + "xTo": 0, | |
| 611 | + "yTo": 0, | |
| 612 | + "rotationTo": 0, | |
| 613 | + "rotationYTo": 0, | |
| 614 | + "opacityTo": 1, | |
| 615 | + "easeTo": "none", | |
| 616 | + "loops": false, | |
| 617 | + "numberOfRepeat": 0, | |
| 618 | + "isSmooth": true, | |
| 619 | + "startPoint": 80, | |
| 620 | + "endPoint": 10 | |
| 621 | + } | |
| 622 | + }, | |
| 593 | 623 | "_hide_on_desktop": { |
| 594 | 624 | "type": "boolean", |
| 595 | 625 | "default": false |
| 596 | 626 | }, |
| @@ -604,7 +634,21 @@ | ||
| 604 | 634 | }, |
| 605 | 635 | "_custom_css": { |
| 606 | 636 | "type": "string", |
| 607 | 637 | "default": "" |
| 638 | + }, | |
| 639 | + "_animation_element_trigger": { | |
| 640 | + "type": "array", | |
| 641 | + "default": [], | |
| 642 | + "items": { | |
| 643 | + "type": "object" | |
| 644 | + } | |
| 645 | + }, | |
| 646 | + "_animation_page_trigger": { | |
| 647 | + "type": "array", | |
| 648 | + "default": [], | |
| 649 | + "items": { | |
| 650 | + "type": "object" | |
| 651 | + } | |
| 608 | 652 | } |
| 609 | 653 | } |
| 610 | 654 | } |