Okay
  Public Ticket #1244370
video embedding
Closed

Comments

  • in2gardens started the conversation

    Hi There, I'm trying to embed a you tube video to stay static on the nextar slider home page.. is this possible?  https://www.njlandscapes.com.au/ ... similar to the layout video on this page but using the slider http://pitch-box.com/

  •  9,013
    Tahir replied

    Hey Again,

    Yes you can try adding the embed iframe code in the Nectar Slider Caption Area . 

    Thanks 


    ThemeNectar Support Team 

  • in2gardens replied

    thanks, I've done this but it is so big, do you have a code that reduces this size down by 1/4 and responsive?check out the page here with my embed code www.njlandscapes.com.au

  • in2gardens replied

    ok, so ive worked out the size but when you click to start playing the video on a desktop it starts playing but it dosent lock the slider and plays in the background. you have to manually click it back to pause the slider.

  • in2gardens replied

    also there is alot of black space to the side of the video, how do i resize this


  •  9,013
    Tahir replied

    Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :

    @media only screen and (max-width: 1000px) and (min-width: 1px) {
        .swiper-slide .content iframe {
            max-width: 310px !important;
        }
    }
    @media only screen and (min-width: 1000px) {
        .swiper-slide .content iframe {
            max-width: 610px !important;
        }
    }

    Thanks


    ThemeNectar Support Team 

  • in2gardens replied

    hi i tried but it still not not working and not sure how to correct the code. see attached image

  •  9,013
    Tahir replied

    Hey Again,

    There is a ending curly brace missing . See screenshot : http://prntscr.com/fy2d2c . 

    Thanks


    ThemeNectar Support Team 

  • in2gardens replied

    thanks works perfect.. just wondering if there is any code to stop the picture slide when the video is clicked. If i click on it at the start it start looping and playing vid in backgrounnd. If i click back it then pauses and stops the slider pic loop

  •  9,013
    Tahir replied

    Hey Again,

    No  i am afraid the Salient Theme does not have any such option available at the moment. 

    Be.st 


    ThemeNectar Support Team