Nyromodal problem embeding video in IE8

Nyromodal problem embeding video in IE8

When using nyromodal and embedding a video, here is the problem I encountered when viewing in IE8. When closing the video that was open in nyromodal, sometimes it makes the whole screen black. If you right click on the black area, it indicates that this black area is from flash. 

After some research I found there is a similar (not exactly the same) problem which happened to somebody else and has been reported to the nryomodal team. http://code.google.com/p/nyromodal/issues/detail?id=340#makechanges

The problem is actually caused by a nyromodal filter called "close". When avoid calling this filter, it works correctly. It's not a solution but a work around and it works.

Here is the code:

$('.video-nyromodal').nyroModal({
_close: function(){
this.getInternal()._removeStack(this.opener);
this._opened = false;
this._open = false;
//this._callFilters('close');  //this line causes the problem
}
});

If you like this article, and especially if it has helped solved a problem for you, we would be grateful if you can either share this article, like this article, or link to this page so that others may enjoy this too.
Thank You.

Comments

I don't have a Drupal
Anonymous - Sat, 04/14/2012 - 04:45

I don't have a Drupal website, ahulotgh I look forward to hearing more about them at BootCamp. But getting some basics of design that might apply to more than just Drupal is something that I could definitely get behind.

Thank you, great code, helped
Anonymous - Mon, 05/14/2012 - 00:17

Thank you, great code, helped me a lot. KD Web rocks !!! Kdweb.co.uk, are my web design heroes...

Post new comment

The content of this field is kept private and will not be shown publicly.
No spammy links in comments please. They won't be published.