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.

Jquery Logo

jQuery ambiguous of val() or attr('value') in IE 7

IE7 thinks the tag's text is the value and stops jQuery getting the attribute value. IE7 treats val() the same as attr('value').