Thumbnail Images are not showing on the playlist in IE. IE is reporting JS errors during the page load:

Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
Timestamp: Sun, 11 Jul 2010 20:19:16 UTC

Message: Object doesn't support this property or method
Line: 94
Char: 5
Code: 0
URI: http://revive.bigcouchdev.com/sites/revive.bigcouchdev.com/modules/swftools/flowplayer3/swftools_flowplayer3.js?x

It looks like the JS errors are causing line 55 in swftools_flowplayer3.playlist.js to return an empty 'src=""' in IE

el = el.replace('class="swftoolsImage" src=""', 'src="' + clip.swftoolsImage + '"');

Here is a sample page that exhibits the behavoir:
http://revive.bigcouchdev.com/listing/big-couch-media-group

If you hit it in FF or chrome it works fine, dies in IE.

I have dug through the swftools_flowplayer3.playlist.js and swftools-flowplayer3-playlist.tpl.php but can't seem to find out what is dying. (my JS is not very strong).

CommentFileSizeAuthor
#1 swftools.patch.gz355 bytesryan.wyse

Comments

ryan.wyse’s picture

Status: Active » Needs review
StatusFileSize
new355 bytes

Looks like you're right. I ran into the same problem. Its hard to tell with Firebug Lite, but my best guess is that IE either mucks around with the element template or has an issue with the search portion of the replace. I managed to get this working by just splitting the search and replace into two lines so

el = el.replace('class="swftoolsImage" src=""', 'src="' + clip.swftoolsImage + '"');

becomes

        el = el.replace('src=""', 'src="' + clip.swftoolsImage + '"');
        el = el.replace('class="swftoolsImage"', '');

Tested this in Firefox 3.6, Safari 4, IE6 and IE8 . You can see a production example of this here http://f3-fitness.com/sports-performance