I just noticed that my pseudo-streaming movie code causes an error with IE7.
I works fine with IE8, FireFox, Chrome... I have been looking on my own and found that it's likely a misplaced comma in my code, the other browser are debugging it, but IE7 will not. The error suggests it's where I have indicated below. I've tried removing the comma just after "about_us.jpg" and that causes the script to fail completely. Can anyone help me here, please?
Code:
<script type="text/javascript">
//<![CDATA[
flowplayer("player", {src: "http://www.mysite.org/flowplayer/flowplayer.commercial-3.2.5.swf", wmode: 'opaque'}, {
// product key from your account
key: '#$xxxxxxxxx',
// configure clip to use "lighthttpd" plugin for providing video data
playlist: [
{
url: 'http://www.mysite.org/media/video/about_us.jpg',
}, //<----error suggest here???
{
url: 'http://www.mysite.org/flowplayer/streamer.php?file=about_us.flv',
provider: 'lighttpd',
bufferLength: "2",
autoBuffering: false
}],
// streaming plugins are configured normally under the plugins node
plugins: {
lighttpd: {
url: 'http://www.mysite.org/flowplayer/flowplayer.pseudostreaming-3.2.5.swf',
// use ${start} as a placeholder for the target keyframe
queryString:escape('&start=${start}')
}
}
});
//]]>
</script>