I have JW Player installed on my Wordpress website home page, and by default it is running a video hosted on my server. When the user presses the play button I'd like the player to expand and run while being displayed in a lightbox. Can someone provide a link or code on how to do this?
Thanks Ethan. The warning that JWBox is not supported kind of put me off, but I gave it a try but unfortunately couldn't seem to get it to work. However I was able to use the Lightbox Plus plugin to get it up and running in a lightbox using the code at this link:
Instead of a text link I'll replace it with an image of the player. Anwyays I was hoping you could answer a couple of follow-up questions.
First, I would like the player to be sized based on the size of the viewer's display resolution (e.g. 80% width, 16:9 aspect ratio for the height). Can you tell me how I could do this instead of setting a static size?
Second, can you tell me how to start playing video when the link is pressed? Right now the user needs to press the link, then press play.