I have a custom block from a module that calls theme('mediafront_formatter_MYPRESET_player') which is a preset for playing audio files (controller only). When this is loaded in IE 7 or 8 I get a javascript error when jquery.media.minplayer.js calls

                  this.media.display.css({
                     width:this.width,
                     height:this.height
                     });

At this stage width is set to 186 but height is -1.

Any ideas? My preset height is 23

Comments

mstrelan’s picture

Update: setting preset height to 25 resolves the issue. It doesn't look as good though. And the code still needs to handle this

mstrelan’s picture

Another update - #1 fixes IE7 but not IE8. I have simply added if (this.height < 0) { this.height = 1; } and it has fixed it for now.

enjoylife’s picture

Status: Active » Closed (fixed)