{% include "section_style", bgColor: "#fff", vertAlign: "middle" %} {% assign v = current_site.find_video[section.settings.video] %} {% assign v-Image = section.settings.image | image_picker_url: 'video.png' %} {% assign v-Auto = section.settings.autoplay %} {% assign v-Color = section.settings.video_color %} {% assign v-EndEdit = section.settings.end_cta_edit %} {% assign v-EndShow = section.settings.end_cta %} {% assign v-EndOverlay = section.settings.end_background %} {% assign v-EndText = section.settings.end_text %} {% assign v-EndTextColor = section.settings.end_text_color %} {% assign v-EndDismiss = section.settings.end_dismiss %} {% assign kjb-Video = 'video' | settings_id: section: section %}
{% include "section_heading" %}
{% if v %} {{ v | wistia_video: player_color: v-Color, auto_play: v-Auto, still_url: v-Image, playerPreference: "html5" }} {% else %} {% endif %}
{% if v-EndShow %}

{{ v-EndText }}

{% for block in section.blocks %} {% include "cta_block" %} {% endfor %} {{ v-EndDismiss }}
{% endif %}
{% schema %} { "name": "Video", "blocks": [ { "type": "cta", "name": "Video End CTA", "elements": [ { "type": "header", "content": "Video End CTA" }, { "type": "text", "id": "btn_text", "label": "CTA Text", "default": "CALL TO ACTION" }, { "type": "action", "id": "btn_action", "label": "CTA Action", "two_step": true, "default": "http://www.kajabi.com" }, { "type": "checkbox", "id": "btn_target", "label": "Open In New Window", "default": "false" }, { "type": "radio", "id": "btn_style", "label": "CTA Style", "default": "solid", "options": [ { "label": "Solid", "value": "solid" }, { "label": "Outline", "value": "outline" } ] }, { "type": "radio", "id": "btn_size", "label": "CTA Size", "default": "med", "options": [ { "label": "Small", "value": "small" }, { "label": "Medium", "value": "med" }, { "label": "Large", "value": "large" } ] }, { "type": "radio", "id": "btn_width", "label": "Button Width", "default": "auto", "options": [ { "label": "Auto", "value": "auto" }, { "label": "Full Width", "value": "block" } ] }, { "type": "color", "id": "btn_background_color", "label": "Button Color", "allow_blank": true }, { "type": "color", "id": "btn_text_color", "label": "Button Text Color", "allow_blank": true, "info": "For solid buttons only" }, { "type": "text", "id": "btn_Reveal", "label": "CTA Timed Reveal", "default": "0", "info": "Use seconds. (For example, 5 minutes x 60 seconds = 300 seconds). Leave at 0 to disable timed reveal." } ] } ], "elements": [ { "type": "text", "id": "heading", "label": "Heading", "default": "Video" }, { "type": "textarea", "id": "subheading", "label": "Subheading", "default": "Upload a video to be hosted inside of Kajabi. Easily change the player color and autoplay the video when people visit this page." }, { "type": "checkbox", "label": "Autoplay", "id": "autoplay", "default": "false" }, { "type": "video", "id": "video", "label": "Video" }, { "type": "image_picker", "id": "image", "label": "Image", "info": "Suggested dimensions: 1856 × 1044" }, { "type": "header", "content": "Video End CTA", "style": "subheading" }, { "type": "checkbox", "label": "Edit CTA Message", "id": "end_cta_edit", "default": "false", "info": "This is for editing purposes only. Uncheck this before going live. Will only show when video is uploaded." }, { "type": "checkbox", "label": "Show CTA Message At Video End", "id": "end_cta", "default": "false" }, { "type": "textarea", "id": "end_text", "label": "End CTA Text", "default": "This is a great place to put your CTA that you have been building towards in your video." }, { "type": "text", "id": "end_dismiss", "label": "End CTA Dismiss Text", "default": "DISMISS MESSAGE" }, { "type": "color", "id": "end_background", "label": "End CTA Background Color", "allow_blank": true }, { "type": "color", "id": "end_text_color", "label": "End CTA Text Color", "allow_blank": true }, { "type": "header", "content": "Section Appearance", "style": "subheading" }, { "type": "color", "label": "Background Color Override", "id": "background_color", "allow_blank": true }, { "type": "color", "label": "Text Color Override", "id": "text_color", "allow_blank": true }, { "type": "color", "id": "video_color", "label": "Player Color", "default": "#2e91fc" }, { "type": "select", "id": "spacing", "label": "Spacing", "default": "medium", "options": [ { "label": "Extra Small", "value": "xs-small" }, { "label": "Small", "value": "small" }, { "label": "Medium", "value": "medium" }, { "label": "Large", "value": "large" } ] } ], "presets": [ { "name": "Video", "description": "Upload a video to show case your brand or product.", "category": "Content" } ] } {% endschema %}