Components
54
Accordion Items Basic Hero Basic Map Benefits Card Grid Career Testimonials Case Study Carousel Case Study Content Two Column Contact Form Content Centred Content Image Content Three Columns Content Two Column Content Video Cookie Table Cta Blocks Example Faqs Featured Card Featured Latest Cards Footer Banner Glossary Items Hero Insights Hero Rounded Hero With Featured Insight Home Hero Icon Carousel Image Link Carousel Image Link Carousel 2×2 Image Link Grid Insight Content Job Listing Large Image Large Testimonial Leadership Grid Link Grid Locations Locations Archive Logo Scroller Page Heading People Carousel Related Services Resources Carousel Section Anchors Separator Service Hero Services List Services Tabs Tech Partners Testimonial Carousel Testimonial Single Use Case Component Values Scroller Video

Video

Field
Field Type
Field Name
Instructions
Block Data
tab
Overline
text
overline
Heading Type
select
heading_type
Heading Text
textarea
heading_text
Sub Heading
text
sub_heading
Video Placeholder Image
image
video_placeholder_image
If no image selected and video is YouTube or Vimeo, the thumbnail will be retrieved.
Video Source
select
video_source
Video File
file
video_file
Video URL
url
video_url
Must be a link to a YouTube or Vimeo video.
Block Meta
tab
ID
text
block_id
Block Classes
text
block_classes
Background Colors
select
background_colors
Padding Top
select
padding_top
Padding Bottom
select
padding_bottom
Margin Top
select
margin_top
Margin Bottom
select
margin_bottom

				
@import "../../resources/scss/util/variables";
@import "../../resources/scss/util/mixins";

.block-video {
    padding: 3em 0;
    
    @include bp($lg){
        padding: 6em 0;
    }
    
    text-align: center;

    .overline {
	    color: var(--color);
    }

    .video-inner {
        width: 100%;
        max-width: 53.75rem;
        margin: 0 auto;
    }
    
    .video-item {
        position: relative;
        overflow: hidden;
        display: block;
        border-radius: 32px;

        img {
            display: block;
            aspect-ratio: 16 / 9;
            object-fit: cover;
            transition: transform 0.3s ease-in-out;
            width: 100%;
        }
        .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 5;
            width: rem-calc(42);
            height: rem-calc(42);
            border-radius: 100%;
            background-color: $white;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: background-color 0.3s ease-in-out;
            
            svg {
                position: absolute;
                top: 50%;
                left: 55%;
                transform: translate(-55%, -50%);
                color: $primary;
                transition: color 0.3s ease-in-out;
                width: 17px;
            }

            @include bp($lg){
                width: rem-calc(92);
                height: rem-calc(92);
                
                svg {
                    width: 34px;
                }
            }
        }
        &:hover {
            .play-icon {
                background-color: $white;
    
                svg {
                    color: $secondary;
                }
            }
            img {
                transform: scale(1.02);
            }
        }        
    }
}
There are is no JavaScript file with this component.
Page Title
Page Type
Page URL
EP 01: When is the artificial truly intelligent?
post
Data Sovereignty Unveiled - Balancing Rights, Privacy, and Innovation
post
Data Transformation Predictions for 2024 - Calligo Data Leaders Roundtable
post
There are is no readme file with this component.