jplayer / jPlayer

jPlayer : HTML5 Audio & Video for jQuery
http://jplayer.org/
Other
4.6k stars 1.47k forks source link

Flash 11: no audio for AAC files if using "play" with time > 0 #78

Open marcn opened 12 years ago

marcn commented 12 years ago

There seems to be a bug in either Flash 11 or the jPlayer Flash MP4 helper that causes audio to play back without any sound when starting playback of a file via "play" using a non-zero position. This problem only seems to affect Flash 11 (it was okay in Flash 10).

To reproduce, load the following page in a browser with Flash 11 (i.e. latest Chrome): http://novakowski.net/jp/

(note: it is forcing Flash so even though Chrome can play back AAC natively, it's using the Flash helper)

As you should see - it tries to play back the file with an offset of 2 seconds. The playback starts and seems to progress at a natural pace, however there is no audio. If you try it with an earlier version of Flash (i.e. Flash 10) it will work correctly.

YakupIpek commented 10 years ago

I am having exactly same issue. None zero position with flash solution plays without sound. Audio file is same with your format.

Here is reproduced version http://test.apolyon.com/radio/test . it can play file without problem but click button which plays at 10 sec fails. It progress without sound.

I have tested it on 2.5 and 2.7 versions.

marcn commented 10 years ago

It's been a while, I believe the workaround for this is to use jPlayer.pause(pos) and (by listening for events) wait for the seek to get to the desired position before actually calling play().

YakupIpek commented 10 years ago

@marcn How Pandora fixed this issue :) ?

thepag commented 10 years ago

I was just reviewing the older issues... And this still happens in Chrome.