Tagged: x
-
AuthorPosts
-
May 16, 2016 at 1:37 pm #994127
piexecParticipanthttp://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]
May 16, 2016 at 5:09 pm #994456
FriechModeratorHi 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!
May 18, 2016 at 9:58 am #997502
piexecParticipantNow the 2nd video box has moved to the left instead of the right side.
May 18, 2016 at 9:59 am #997507
piexecParticipantNow the second video box has moved to the left instead of the right side
May 18, 2016 at 12:00 pm #997715
Nabeel AModeratorHi 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!
May 18, 2016 at 5:04 pm #998214
Michal KParticipantHi 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
May 18, 2016 at 10:37 pm #998723
FriechModeratorHi 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.
May 19, 2016 at 9:57 am #999545
piexecParticipantThis reply has been marked as private.May 19, 2016 at 11:47 am #999754
JoaoModeratorHi 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
May 19, 2016 at 7:27 pm #1000468
Michal KParticipantHey 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
May 19, 2016 at 10:45 pm #1000842
FriechModerator@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.
May 19, 2016 at 11:07 pm #1000871
Michal KParticipantOk, 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.
May 19, 2016 at 11:44 pm #1000912
RupokMemberHi 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!
May 19, 2016 at 11:52 pm #1000921
Michal KParticipantEven though they videos are embedded as a lightbox and do not actually load until clicked?
May 20, 2016 at 12:20 am #1000950
RupokMemberHi 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
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-994127 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
