Go
Not registered? Sign up!

using the player in a modal window

Google Translate
7 posts | return to the JavaScript Interaction forum | get the rss feed for this thread

Mar. 12, 2009lior

Hi,

i am using the JWPlayer in a modal window (when someone clicks the thumnbnail of a video, i am opening a modal window with the JWPlayer).

it works gr8 in Firefox and in Chrome, but it fails to load the video and the skin in IE7 (it displays the player native skin, fails to display a required skin nor the video itself and its thumbnail).

i am using jquery and a pluging that mimics lightbox for the modal window.

if i am using the the code to display the video in the original html page, it displays fine.

any suggestions?

regards,

lior

Oct. 11, 2009Other

Hello lior,

Same problem here. Did you find the solution? If not, just bumping...

It seems that with the embed element IE works ok in a modal window but not with object or swfobject.

Oct. 21, 2009Other

"It seems that with the embed element IE works ok in a modal window but not with object or swfobject."

Hum, even that does not seem to be true. Object works but only if [paste your solution here].

Oct. 23, 2009Zachary Ozer

What type of modal window are you opening? Flash? JavaScript?

Oct. 27, 2009Scott

I'm having similar issues. I'm using ASP.NET AjaxControlToolkit ModalPopupExtender to display the modal dialog. In FF the playerReady function seems to fire immediately as the flash player becomes visible on the UI (not when the page loads). In IE, however, the playerReady function is never firing. Anyone else know how to resolve this? I'm using SwfObject to embed the player. As a point of clarification, the player is displaying fine visually in IE its just the JavaScript API seems to be broken.

Oct. 27, 2009Scott

Also...about a year ago (forget which version of JW Player I had at the time), I was able to get it working in a modal but injecting the player into the modal everytime it was displayed versus having on there and just hiding the modal. This was a really crappy solution in my opinion but I got it working. I recently moved from ASP to ASP.NET and was attempting to get it working without dynamically rebuilding everything but still seems to be a no-go.

Oct. 28, 2009Zachary Ozer

Scott - it's hard to know why it's not firing in IE. Can you post a link to an example page?

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.