Closed petehjfd closed 6 months ago
I should also add, I've also specified a color in the embed settings for the video in Vimeo (not the example video I've used above) but it gets overridden by the color applied by Fancybox.
I think it would make more sense for Fancybox to omit the color attribute entirely if the vimeo.color option is not specified when Facybox in instantiated.
Hi, @petehjfd
Sorry about the confusion, the correct syntax is like this:
Fancybox.bind('[data-fancybox]', {
Html : {
vimeo: {
color: 'ff0000'
}
}
});
Ah perfect, that works, thanks!
Describe the bug
Hi
I would like to use a custom color for the Vimeo embed player. As per the docs, my code looks like this:
but the embed URL in the output still contains the default
00adef
color. This is exactly what gets output by Fancybox:Reproduction
data-fancybox
to ana
element with a Vimeo video URL as thehref
valueAdditional context
No response