HOME


Mini Shell 1.0
DIR: /home/islapiiu/sites/agpholdings/
Upload File :
Current File : /home/islapiiu/sites/agpholdings/slider.php
<div class="wickley_tm_section">
    <div class="wickley_tm_slider_wrap">
        <div class="container swiper"> 
        </div>
        <div class="wickley_tm_universal_swiper_wrap">
            <div class="swiper-container">
                <div class="wickley_tm_articles_wrap swiper-wrapper">
                    <div class="article_inner swiper-slide">
                        <div class="article_image first"> 
                            <div class="wickley_tm_testimonial_wrap">
                                <div class="wickley_tm_universal_parallax_wrap">
                                    <div class="video-background">
                                        <div class="video-foreground">
                                            <iframe src="https://www.youtube.com/embed/BxkST7Mzg0Y?controls=0&showinfo=0&rel=0&autoplay=1&loop=1&playlist=BxkST7Mzg0Y" allow="autoplay" allowfullscreen></iframe>
                                       
                                        </div>
                                    </div>
                                    <div class="main_content"></div>
                                </div>
                            </div>
                        </div>

                    </div>
                </div> 
            </div>
        </div>
    </div>
</div>
<style>
    * {
        box-sizing: border-box;
    }

    .video-background {
        background: #000;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 0;
    }

    .video-foreground{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .video-background iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*            pointer-events: true;*/
    }

    @media (min-aspect-ratio: 16/9) {
        .video-foreground {
            height: 300%;
            top: -100%;
        }
    }

    @media (max-aspect-ratio: 16/9) {
        .video-foreground {
            width: 300%;
            left: -100%;
        }
    }

    @media screen and (max-width:768px){
        .video-background {
            background: #000;
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            z-index: 0;
        }
        .video-foreground{
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        .video-background iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /*                    pointer-events: true;*/
        }
    }

</style>