-
Hi, I'm using fancybox 4 for a projekt that mixes images and videos in a lightbox, similarly to what it shown in this showcase: https://fancyapps.com/playground/NA I understand from the documentation that the default setting for video is "autoplay". However, I can't seem to be able to switch the autoplay off in the initialization settings. This neither works in the JS playground of the showcase nor in my code, the video will always automatically play.
I realize the video may not autoplay for others because of browser policies, but I want to make sure it doesn't autostart. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Set it like this: Html : {
video : {
autoplay: false,
ratio: 4/3,
}
}, |
Beta Was this translation helpful? Give feedback.
Set it like this:
https://fancyapps.com/playground/NB