Michael.J Posted May 18, 2016 Posted May 18, 2016 (edited) This plugin speeds up load times by replacing supported video embeds (YouTube) with preview images. Users can then view the video by clicking the preview image and the embed will load like normal via javascript. v1 Features: Speeds up page load times by preventing multiple video embeds from loading. Works in the background on page load and regardless if javascript enabled browser or not. Fall back code in place for non javascript browsers. User will simply be redirected to the videos page. Clicking the preview image will automatically load the video embed again through javascript. Choose which forums will support lazy loading of videos. Choose which member groups will have videos lazy loaded. Currently supported video sites: YouTube Edited May 19, 2016 by Mike John Netherlord and Maxxius 2
Joel R Posted May 19, 2016 Posted May 19, 2016 I don't have a particular need for Lazy Load Videos, but would absolutely love a Lazy Load for Images.
Michael.J Posted May 19, 2016 Author Posted May 19, 2016 8 minutes ago, Joel R said: I don't have a particular need for Lazy Load Videos, but would absolutely love a Lazy Load for Images. Can you expand on how would something like that work? I assume the aim would be to reduce the load times of extremely large remote/external images?
Joel R Posted May 19, 2016 Posted May 19, 2016 Just now, Mike John said: Can you expand on how would something like that work? I assume the aim would be to reduce the load times of extremely large remote/external images? (Not to hijack this plugin's support topic, but I appreciate your taking the time to understand the use case of Lazy Load for Images). Yes, one use case would be to reduce the load times of extremely large remote images. My personal example would be to only load image attachments in forum topics once the viewport stays on a particular screen. For example: My forum topic contains many, many, many images that vertically stretch all the way down. When I load the topic, I skip down to Newest Unread post. However, IPS wants to load ALL image attachments in ALL prior posts Lazy Load would only start loading once viewport rests on Newest Unread post for 3 seconds. Hope this helps. BomAle 1
Michael.J Posted May 19, 2016 Author Posted May 19, 2016 2 hours ago, Joel R said: Yes, one use case would be to reduce the load times of extremely large remote images. My personal example would be to only load image attachments in forum topics once the viewport stays on a particular screen. I'll make a note of this for future mod ideas. I believe there shouldn't really be an issues on modifying the images. I'd just need to check if there was a way to properly hook into the javascript to have it load those images on view. NZyan, Joel R and BomAle 3
pilotguy Posted September 4, 2016 Posted September 4, 2016 @Mike John possible to get a sidebar widget for this??
Michael.J Posted September 12, 2016 Author Posted September 12, 2016 On 04/09/2016 at 11:16 AM, pilotguy said: @Mike John possible to get a sidebar widget for this?? Not currently but I do like the idea and will note it.
Admonstrator Posted October 5, 2016 Posted October 5, 2016 Hi there, unfortunately your plugin creates an issue with another app. Is there anyway to fix this?
Michael.J Posted October 7, 2016 Author Posted October 7, 2016 On 06/10/2016 at 4:19 AM, Admonstrator said: Is there anyway to fix this? I've logged a bug report so can clear this within the next few weeks. Do you currently have ftp access to your site? If so, PM me and I should be able to provide a test patch you can try. Admonstrator 1
nodle Posted October 7, 2016 Posted October 7, 2016 +1 for Lazy loading images also. Joel R and rhyker2u 2
Michael.J Posted October 12, 2016 Author Posted October 12, 2016 New update for this plugin: Fixed a minor bug that affected integration with other applications and plugins.
Himadri Goswami Posted October 17, 2016 Posted October 17, 2016 Will these images appear when sharing a video post?
Michael.J Posted October 17, 2016 Author Posted October 17, 2016 (edited) 10 hours ago, Himadri Goswami said: Will these images appear when sharing a video post? As in a facebook feed instead as the "share image"? No not currently in this version. Edited October 17, 2016 by Mike John
Michael.J Posted July 24, 2017 Author Posted July 24, 2017 The Lazy Load Videos plugin has been updated for IP.Board 4.2.x compatibility.
Netherlord Posted July 26, 2017 Posted July 26, 2017 A button to toggle between http and non https would be nice in the plugin setting. I was able to make it work by changing http to https within the xml! I was getting a browser ssl warning but all is good now. I imagine others on ssl only might have this issue too.
Netherlord Posted July 26, 2017 Posted July 26, 2017 (edited) also after posting a video, and the post merging in after send clicking the video takes you to youtube? Can it be made to play inside without a page refresh? As it's kind of annoying. I'm using 4.2 Edited July 26, 2017 by Netherlord
Netherlord Posted July 26, 2017 Posted July 26, 2017 (edited) 4 hours ago, Netherlord said: also after posting a video, and the post merging in after send clicking the video takes you to youtube? Can it be made to play inside without a page refresh? As it's kind of annoying. I'm using 4.2 Actually to expand on this their are other issues. For some reason the videos 50% load with the image and play button! 50% of the time they do not. It's a mix on one page sometimes. This is also the cause for videos not being playable after posting and them merging into posts. I've also encountered issues with people quoting videos and those videos quotes being a squashed image that is unclickable. Kinda annoying and a touch messy. I know you get busy but I'm sure you can do something? I think it has something to do with being ajax loaded? this can't be turned off in some places.... Hope you can do something. Edited July 27, 2017 by Netherlord
Netherlord Posted July 27, 2017 Posted July 27, 2017 (edited) Videos seems to sometimes randomly play in the background also! Edit: Never-mind. Uninstalling. Edited July 27, 2017 by Netherlord
Michael.J Posted July 27, 2017 Author Posted July 27, 2017 On 7/27/2017 at 5:18 AM, Netherlord said: A button to toggle between http and non https would be nice in the plugin setting. I was able to make it work by changing http to https within the xml! I was getting a browser ssl warning but all is good now. I imagine others on ssl only might have this issue too. Where are you getting a non secure link from? Just checked and should be using https in both js and source code. On 7/27/2017 at 5:32 AM, Netherlord said: also after posting a video, and the post merging in after send clicking the video takes you to youtube? Can it be made to play inside without a page refresh? As it's kind of annoying. Is this the auto post merge or manual one? I can't seem to reproduce this. 23 hours ago, Netherlord said: Actually to expand on this their are other issues. Just how many videos are we talking about? i assume all Youtube as well? I'm looking into the quote issue as can reproduce that but not the merge issue.
Netherlord Posted July 27, 2017 Posted July 27, 2017 (edited) I was way too tired when I wrote the bugs. I've gone over what issues I had and answered you below. Hopefully this helps. 45 minutes ago, Mike John said: Where are you getting a non secure link from? Just checked and should be using https in both js and source code. From the yt image thumbnail I believe. it was coming in as http on the page. As when I checked unsecure parts that image was the only part http. (Easily fixed it by changing the http to https is the xml file though) 45 minutes ago, Mike John said: Is this the auto post merge or manual one? I can't seem to reproduce this. Oh replication on this one! With Ajax pagination on: switch between pages with videos on on the page you land on, They fail to load with playable image on them and click to youtube With Ajax pagination off, The above does not happen and they load fine. with it either on or off, if you enter a thread and post a video. The post will be added to the thread but the video within the post will not be playable and will take you to youtube if clicked until you refresh the page. Seems to be an issue with ajax auto loading the posts in and the videos failing onto the non javascript backup, Logic wise that seems to be the issue. Edited July 27, 2017 by Netherlord
Michael.J Posted July 27, 2017 Author Posted July 27, 2017 4 minutes ago, Netherlord said: From the yt image thumbnail. it was coming in as http on the page. Sorry, I get it now. 4 minutes ago, Netherlord said: Seems to be an issue with ajax auto loading the posts in and the videos failing onto the non javascript backup, Logic wise that seems to be the issue. Thanks, just looking for some solutions now. Netherlord 1
Michael.J Posted August 13, 2017 Author Posted August 13, 2017 11 hours ago, Netherlord said: Any further forward? Not yet but I've still set this as "pending" until I go over it again. i.e. I won't forget it, it will receive another update. Netherlord 1
Michael.J Posted August 31, 2017 Author Posted August 31, 2017 The Lazy Load Videos plugin has been updated to fix various ajax issues such as pagination and post quoting.
bearback Posted May 21, 2018 Posted May 21, 2018 could Facebook videos be included in this plugin ? thankyou
Recommended Posts