[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 323
  • Last Modified:

Wordpress Theme JQuery conflict with New Royal Slider Plugin

Hi,
I have installed a royal slider plugin for wordpress but its conflicting with my theme and reporting the following error:

Uncaught ReferenceError: slider is not defined

I have deactivated all the plugins and the error is still there. I switched themes and the error goes away so i know the issue lies within the theme being used i just cant find what i need to do.

Any help would be much appreciated.

Heres a link to the site in question http://www.timelapseframes.co.uk.gridhosted.co.uk/

Many Thanks,

Andrew
0
Andy6350
Asked:
Andy6350
1 Solution
 
leakim971PluritechnicianCommented:
replace :
slider.ev.on('rsAfterSlideChange', function() {
    slider.playVideo();
});

Open in new window

by :
sliderInstance.ev.on('rsAfterSlideChange', function() {
    sliderInstance.playVideo();
});

Open in new window

0
 
Andy6350Author Commented:
Quick response, spot on!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now