Closed (fixed)
Project:
MediaFront
Version:
6.x-1.0-beta4
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2010 at 02:00 UTC
Updated:
7 Apr 2012 at 23:15 UTC
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
Comment #1
mstrelan commentedUpdate: setting preset height to 25 resolves the issue. It doesn't look as good though. And the code still needs to handle this
Comment #2
mstrelan commentedAnother 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.Comment #3
enjoylife commented