Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #994127
    piexec
    Participant

    http://accurateemployersolutions.com/run/

    I’m getting a strange second video box off to the right on my screen. See attached.

    My code is:

    [image src=”http://accurateemployersolutions.com/wp-content/uploads/2016/05/img-run-why-run-products-1.png” link=”true” href=”https://www.youtube.com/embed/T2dEjYRtUkw” lightbox_video=”true”][lightbox]

    #994456
    Friech
    Moderator

    Hi There,

    Thanks for writing in! Please update your shortcode to this

    [image class="lbx" src="http://accurateemployersolutions.com/wp-content/uploads/2016/05/img-run-why-run-products-1.png" link="true" href="https://www.youtube.com/embed/T2dEjYRtUkw" lightbox_video="true"][lightbox selector=".lbx"]

    Hope it helps, Cheers!

    #997502
    piexec
    Participant

    Now the 2nd video box has moved to the left instead of the right side.

    #997507
    piexec
    Participant

    Now the second video box has moved to the left instead of the right side

    #997715
    Nabeel A
    Moderator

    Hi again,

    Please add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:

    .ilightbox-holder.ilightbox-next, .ilightbox-holder.ilightbox-prev {
        display: none !important;
    }

    Let us know how this goes!

    #998214
    Michal K
    Participant

    Hi there, I have an accordion with video in each of them (5 accordions=5 videos). I used lightbox to embed the videos to keep the site as fast as possible, as I though it would not load all the videos until I click the image, whereas if I used video player I assume it would load all of them?
    I used only the provided code

    .ilightbox-holder.ilightbox-next, .ilightbox-holder.ilightbox-prev {
        display: none !important;
    }

    and it got rid of the other videos, which is good. But my concern is – does it also keep my site fast or it just “hides” the other videos from showing, loading them in the background anyway?

    Thanks

    #998723
    Friech
    Moderator

    Hi There,

    Video will only load meta data first, It would not actually load the whole video size until you play it.

    Is your video has autoplay attribute? Obviously it would slow your site if multiple video plays simultaneously.

    Yes, the CSS code will only hide the video, but it will still load if it is autoplay.

    Thanks.

    #999545
    piexec
    Participant
    This reply has been marked as private.
    #999754
    Joao
    Moderator

    Hi There,

    Please add the following code to your appereance Customizer / Custom / CSS

    
    .page-id-182 .ilightbox-holder.ilightbox-next, .ilightbox-holder.ilightbox-prev {
      display: none !important; 
    }
    

    If that happens in another lightboxes you can change the number of the page id, or remove totally .page-id-182 to apply globally, I don´t recommend you applying globally if you have a lightbox in another page which contains more than one video.

    Hope that helps,

    Joao

    #1000468
    Michal K
    Participant

    Hey Friech,

    so my videos do not autoplay. I used the code and it hid the other videos but they are still “accessible” when I press the left/right arrow on the keyboard. I also tried adding a selector, but it did not seem to work for me 🙁

    Your help is greatly appreciated!

    Thanks

    #1000842
    Friech
    Moderator

    @biznesowerewolucje Hi There,

    There might be other factors that causing your site to load slowly, and I am not entirely certain about your video issue. Please open up a separate thread, clarify the issue and provide us login credentials in private reply, so we can take a closer look.

    We’ll be happy to provide you with a response once we have a better understanding of the situation.

    Thanks.

    #1000871
    Michal K
    Participant

    Ok, will do. BTW I never said my site was loading slowly. In fact, it is loading very fast, and I want to keep it that way, hence looking for a solution to embed many vids on one site without compromising the site load.

    I will open a new thread as you recommended.

    Cheers.

    #1000912
    Rupok
    Member

    Hi there,

    If you use lot of videos in a page then certainly it will slow down the performance as it will load lot of resources. You can review our Performance article if you think you need to optimize the speed.

    Cheers!

    #1000921
    Michal K
    Participant

    Even though they videos are embedded as a lightbox and do not actually load until clicked?

    #1000950
    Rupok
    Member

    Hi there,

    Still it will load some resources. However you can always test with a tool like http://tools.pingdom.com/ and decide what you should do.

    Thanks

  • <script> jQuery(function($){ $("#no-reply-994127 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>