Open richaber opened 6 years ago
@TwisterMc can you have a look at what I've got for open questions / comments / whatever here and see what you think? I can submit a PR with what I have right now, if you prefer, but some of this should maybe hashed out a little first?
Looking at the Todos in the Readme one by one...
Update Vimeo helper script to be enqueued only if needed. / Half done, only shows with video sliders now.I added a conditional check in the Slick module that only enqueues the Vimeo and/or YouTube scripts if we have Vimeo and/or YouTube embed slides.
Break out Photo vs Video settings so we can properly hide/show settingsSince Slick itself has no concept of "Autoplay Videos," or "Show Image Captions," or "Force images to full width" I moved those settings to a new tab called "Media Settings." I feel that anything that is not specific to Slick's settings should be kept separate from the other slider settings to reduce confusion. This may not be a hard and fast rule, it might be a little fuzzy due to settings like "Design."
I'd need to know what the markup output should look like. And nobody wants me styling that.
Needs more info.
Make it possible to have videos AND photos in one slideshow.Done. Uses a "Settings Form" field.
I'd need to know what the markup output should look like. And nobody wants me styling that.
Either use the internal or external Vimeo helper script and remove the other one.I'm not sure I understand that exactly, but I'm using the Vimeo Player API (which replaced the deprecated Froogaloop library) loaded from Vimeo's own CDN.
And then there's this one item from the change log, not listed as a Todo...
Updating slick.js with a fix for issue 1207That included an old version of Slick (v 1.6.0) with an unofficial patch. According to the Slick 1.7.1 release notes this should be addressed in newer releases:
Since I'm not a fan of using outdated libraries, I've opted to use the latest official Slick release (1.8.1 as of this writing).