
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 DrupalAnonymous - Sat, 04/14/2012 - 04:45
Thank you, great code, helpedAnonymous - Mon, 05/14/2012 - 00:17
Post new comment