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

Cannot center modal jwplayer in 6.12

I'm using a jquery modal popup to play the video using v6.11. I load the content and then center the dialog using ".dialog('option', 'position', 'center');". This works just fine. However, upgrading to 6.12 doesn't allow this centering to work. The modal dialog gets pushed down to the bottom right.

Any suggestions?

2 Community Answers


0 rated :

Update: I think the window size doesn't get set until later on when the video runs w/ 6.12; therefore, the resizing/positioning of the modal occurs before the video gets resized (race condition). 6.11 was set prior to this

Cooper Reid

JW Player Support Agent  
0 rated :

Which modal are you referring to?

This question has received the maximum number of answers.