The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Anythingslider with embedded videos – loading twice Re: Anythingslider with embedded videos – loading twice


Well, the issue is actually that the video extension is triggered on the window load event, which is why you see it load, then reload.

The video extension really needs to be rewritten, but I just haven’t had the time or the motivation to get it done. But, I think the easiest solution would be to modify the video extension slightly….

First remove the following code from the end of the file:

// Initialize video extension automatically

Then add the following to the AnythingSlider initialization code:

onInitialized : function(e, slider) {

This will initialize the video extension immediately after the slider has set itself up and likely before the page has completely loading.