Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Playing mp3 in IE8 works sometimes and sometimes not

5 replies [Last post]
Reply

Hi,

I created a fiddle to demonstrate the issue and I was able to replicate it on diffrent machines with IE8 (other browsers seem to work as expected - autoplay the file every time you visit):
http://jsfiddle.net/FFyCY/

Sometime when you run this jsfiddle the audio plays and the "state" button will display "PLAYING".
But some other times it will NOT play and the state will be "undefined".

Even a click on the "play" is not able to start it.
The player seems to be created correctly in the dom.

Any ideas?

Reply

This seems to work for me. Maybe if you embed this on an actual page the issue might go away for you?

Reply

One of our clients discovert this and we were finaly able to replicate it.
I noticed that the css in the jsfiddle wasn't quite correct and I updated it.
It seemsd to have something to do with the width and height of 0.

As soon as I change this in the developer tools in IE8 to 1 the jwplayer would start playing the audio.

Here the new fiddle width width/height 0:
http://jsfiddle.net/FFyCY/2

Reply

You can't use 0 for the width/height with the player. It isn't supported. They have to be at least 1.

Reply

Yeah, that's what we have change it to now.

We had no trouble in the past with this and it only happend since we updated to 5.8.

Thanks for clarification.

Reply

Np

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options