Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

JWPlayer 6 on Windows 7, IE 9 hangs "long-running script"


JWPlayer 6 loads and plays fine in iOS, OS X, Android and on Windows 7 with Firefox. But on Windows 7 and IE 9 (and I've been told on Windows 7 and Chrome) it does not load. Using IE9 returns "long-running script" error and the event "AppHangB1".

Here is the link: http://www.truthunity.net/video/on-wings-of-truth
Here is the script:
<script type="text/javascript" src="/sites/all/libraries/jwplayer6/jwplayer.js"></script>
<script>jwplayer.key="I+blwLLzoq+eTwtDfLTWDV9ej6dKYQ0NHAYWHA==";</script>
<div id="mediaplayer"></div>
<script type="text/javascript">
jwplayer("mediaplayer").setup({
width: 450,
height: 700,
'listbar': {position: 'bottom', size: 400},
'playlist': [
{image: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/media-poster.png",
file: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/01 On Wings of Truth.m4v",
title: "01 On Wings of Truth"},
{image: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/media-poster.png",
file: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/02 Connie Fillmore describes Myrtles healing.m4v",
title: "02 Connie Fillmore describes Myrtles healing"},
{image: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/media-poster.png",
file: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/03 John Strickland talks about prayer.m4v",
title: "03 John Strickland talks about prayer"},
{image: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/media-poster.png",
file: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/04 Five teachers of Truth Principles at Unity.m4v",
title: "04 Five teachers of Truth Principles at Unity"},
{image: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/media-poster.png",
file: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/05 Topic #1 - Health.m4v",
title: "05 Topic #1 - Health"},
{image: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/media-poster.png",
file: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/06 The Law of Mind Action.m4v",
title: "06 The Law of Mind Action"},
{image: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/media-poster.png",
file: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/07 Affirmation and Denial.m4v",
title: "07 Affirmation and Denial"},
{image: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/media-poster.png",
file: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/08 Prayer and Meditation.m4v",
title: "08 Prayer and Meditation"},
{image: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/media-poster.png",
file: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/09 Giving Thanks.m4v",
title: "09 Giving Thanks"},
{image: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/media-poster.png",
file: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/10 Topic #2 - Prosperity.m4v",
title: "10 Topic #2 - Prosperity"},
{image: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/media-poster.png",
file: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/11 Right Livelihood.m4v",
title: "11 Right Livelihood"},
{image: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/media-poster.png",
file: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/12 Giving and Receiving.m4v",
title: "12 Giving and Receiving"},
{image: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/media-poster.png",
file: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/13 Topic #3 - Loving Relationships.m4v",
title: "13 Topic #3 - Loving Relationships"},
{image: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/media-poster.png",
file: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/14 Alone or All-One.m4v",
title: "14 Alone or All-One"},
{image: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/media-poster.png",
file: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth15 Relationships.m4v",
title: "15 Relationships"},
{image: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/media-poster.png",
file: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/16 Marriage.m4v",
title: "16 Marriage"},
{image: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/media-poster.png",
file: "https://s3.amazonaws.com/truthunity/video/on-wings-of-truth/17 Conclusion - Let There Be Peace on Earth.m4v",
title: "17 Conclusion - Let There Be Peace on Earth"}
],
});
</script>

11 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

This is a bug in html5 mode that can be fixed by setting primary to flash – http://developer.longtailvideo.com/trac/ticket/1946

JW Player

User  
0 rated :

SOLVED - (Our problem was the TITLE argument!!!)

We had this same issue with a video embed recently, long running script timeout on IE9 running under Windows Vista.

Our embed was much simpler than yours but still had a playlist with two different sources. The solution was to remove the title argument! Fixed things instantly.

On further testing a blank title worked fine:

title: ""

But any contents between the quotes causes IE9 to hang:

title: "abc"

This is a major issue and @Ethan defaulting everyone to Flash playback is a terrible fix especially with longer videos where HTML 5 allows clicking the time slider to any arbitrary point in the video but Flash does not!

Ethan Feldman

JW Player Support Agent  
0 rated :

Glad you solved it.

JW Player

User  
0 rated :

I wouldn't call it a solve. Obviously having to kill titles on the videos is pretty bad. Luckily it doesn't crash on a playlist with a listbar, I'm guessing because the titles are drawn below the video window instead of next to the play icon.

I'm thinking maybe this info would be helpful in resolving that open ticket above. It seems to be easily reproducible with a titled video playing back in IE9.

Should I submit it somewhere else aside from this thread?

The worst part of the bug is it causes TOTAL failure in IE9 (but not 8 or 10) and locks up the entire web page in the process. I'd say it should be a major priority to track that down and fix it in your code.

Ethan Feldman

JW Player Support Agent  
0 rated :

maybe it is a single vs double quote issue ?

JW Player

User  
0 rated :

" Luckily it doesn't crash on a playlist with a listbar,..."

Yes, it does! But I'm finding that it hangs ONLY if it encounters a title on the first item in the playlist. I have the following script (filenames were changed for privacy protection);
bc.. jwplayer("audPlayer").setup({
playlist: [{
image: "image.png",
file: "Preview.mp3",
title: "Hello"
}, {
image: "image.png",
file: "http://podcast.sfopera.com/mp3/1112/Turandot_Nessun_Dorma_mp3.MP3",
title: "Dolly"
}, {
image: "image.png",
file: "Preview.mp3",
title: "World"
}],
height: 480,
listbar: { position: "bottom", height: 200 }
});




which hangs unless I take out the title in the first playlist item.

JW Player

User  
0 rated :

Just downloaded and installed JWPlayer 6.4 and it still hangs for the title in the first playlist item when using a listbar.

JW Player

User  
0 rated :

Have you tired removing the last comma in the line:
],
});
</script>

Make it:
]
});
</script>

Ethan Feldman

JW Player Support Agent  
0 rated :

I think that would do it.

JW Player

User  
0 rated :

Ethan - do you want to respond to ML's response? If not, then I assume ML is correct. Are there alternatives to this bug other than defaulting to flash?

Ethan Feldman

JW Player Support Agent  
0 rated :

This is something that should be fixed already for 6.4, which is already released – http://developer.longtailvideo.com/trac/ticket/1946

This question has received the maximum number of answers.