Jump to content

Lazy Load Videos (Support)

Featured Replies

Posted

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:

  1. Speeds up page load times by preventing multiple video embeds from loading.
  2. Works in the background on page load and regardless if javascript enabled browser or not.
  3. Fall back code in place for non javascript browsers. User will simply be redirected to the videos page.
  4. Clicking the preview image will automatically load the video embed again through javascript.
  5. Choose which forums will support lazy loading of videos.
  6. Choose which member groups will have videos lazy loaded.
  7. Currently supported video sites: YouTube

Edited by Mike John

  • Replies 60
  • Views 7.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Michael.J
    Michael.J

    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

  • +1 for Lazy loading images also.

  • Noted for next release so fix will be included.

Posted Images

I don't have a particular need for Lazy Load Videos, but would absolutely love a Lazy Load for Images.  

  • Author
  On 5/19/2016 at 12:01 AM, 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?

  On 5/19/2016 at 12:10 AM, 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.  

 

  • Author
  On 5/19/2016 at 12:20 AM, 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.

  • 3 months later...

@Mike John possible to get a sidebar widget for this??

  • 2 weeks later...
  • Author
  On 9/4/2016 at 1: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.

  • 4 weeks later...

Hi there,

unfortunately your plugin creates an issue with another app.

Is there anyway to fix this?

  • Author
  On 10/5/2016 at 5:19 PM, 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.

  • Author

New update for this plugin:

  1. Fixed a minor bug that affected integration with other applications and plugins.

Will these images appear when sharing a video post?

  • Author
  On 10/17/2016 at 1:44 PM, 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 by Mike John

  • 9 months later...
  • Author

The Lazy Load Videos plugin has been updated for IP.Board 4.2.x compatibility.

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.

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 by Netherlord

  On 7/26/2017 at 7:32 PM, 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 by Netherlord

Videos seems to sometimes randomly play in the background also!

Edit: Never-mind. Uninstalling.

Edited by Netherlord

  • Author
  On 7/26/2017 at 7:18 PM, 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/26/2017 at 7:32 PM, 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.

  On 7/26/2017 at 11:45 PM, 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.

 

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.

  On 7/27/2017 at 10:53 PM, 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)

  On 7/27/2017 at 10:53 PM, 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 by Netherlord

  • Author
  On 7/27/2017 at 11:35 PM, Netherlord said:

From the yt image thumbnail. it was coming in as http on the page.

Sorry, I get it now.

  On 7/27/2017 at 11:35 PM, 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.

  • 3 weeks later...

Any further forward?

  • Author
  On 8/13/2017 at 12:37 PM, 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.

  • 3 weeks later...
  • Author

The Lazy Load Videos plugin has been updated to fix various ajax issues such as pagination and post quoting.

  • 8 months later...

could Facebook videos be included in this plugin ?

thankyou

Recently Browsing 0

  • No registered users viewing this page.