Jānis Skarnelis

Results 157 comments of Jānis Skarnelis

Hi, Carousel constructor expects HTMLElement that exists in the DOM. If it is not found, then the script warns you that you trying to build Carousel on non-existing element.

Hi, Why don't you just do the opposite way - initialize fancybox if needed. You could also create your own click handler and then start fancybox manually if needed.

@Charon89 you did not mention where you want to prevent fancybox from opening - within some callback or not. You can always create you own click handler where you use...

Hi, Sorry, but I could not understand your question/comment. What do you mean by "Desktop on mobile devices"?

Hmm, could you explain this part - "on non responsive website, on mobile device doesn't work fine for me" - what exactly does not work fine? Can you show screenshot...

No, no, I was just guessing the possible cause of your issue. Sorry, I still have no idea what is your issue, any demo/screenshot would help.

Hi, Sorry, wistia is currently not supported. To be honest, I have never heard of that platform before. I am not sure if it is even possible to dynamically embed...

You see, it is quite easy to take youtube and vimeo video URL, for example, `https://www.youtube.com/watch?v=KDPja9lNeEc` , extract video ID (in that example it would be `KDPja9lNeEc` and use it...

Well, you did not provide any details about your width/height issues, but you can set iframe dimensions either using CSS or JS https://fancyapps.com/fancybox/3/docs/#iframe

@pmullins-opentext Sorry, but I could not understand your comment at all. Is your comment related to Wistia videos or what? That codepen demo was for created older versions of fancybox...