Plugin compatibility
-
Hi,
I’m the developer of Smart Slider 3. Our plugin allows to place YouTube players into slides and Smart Slider controls the YouTube player, for example: stops the video on slide change etc…Smart Slider places the YouTube with the iframe API. The problem is that your plugin takes over the control of the YouTube players inside Smart Slider and we are not able to control it anymore.
The problem is that the following matches every YouTube iframes:
ytprefs.js
:
evselector: 'iframe.__youtube_prefs__[src], iframe[src*="youtube.com/embed/"], iframe[src*="youtube-nocookie.com/embed/"]',
It would be great if you could create an exclude, so Smart Slider would be able to function properly.
Example:
evselector: 'iframe.__youtube_prefs__[src], iframe[src*="youtube.com/embed/"]:not([data-external="1"]), iframe[src*="youtube-nocookie.com/embed/"]:not([data-external="1"])',
Then we would add
data-external="1"
to our frames and everything should work as expected. The naming is up to your as it is not implemented yet in Smart Slider.
- The topic ‘Plugin compatibility’ is closed to new replies.