Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

JWPlayer 7 with FancyBox 3 intrgration

Hi there,

I'm trying to get JWPlayer 7 to integrate with FancyBox 3 and i just can't get the video to work. The lightbox feature on FancyBox works fine, bit it's not showing the video.

I've posted my code on Stack which can be seen here

Any help, super appreciated.

1 Community Answers


JW Player Support Agent  
0 rated :

I am not familiar with jQuery or FancyBox, but my usual suggestion for any lightbox effect is to instantiate the player beforehand with the player size set to 0×0 and then call jwplayer().resize() to the desired height and width when the lightbox opens. This way the player is already loaded and ready to go.

This question has received the maximum number of answers.