Closed
Bug 976044
Opened 11 years ago
Closed 7 years ago
audio duration is NAN
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: viktor.s.karpov, Unassigned)
Details
(Whiteboard: [bugday-20140303])
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.13012 YaBrowser/13.12.1599.13012 Safari/537.36
Steps to reproduce:
I try to get an audio resource setting src for audio element. When loadedmetadata and canplay events are fired I try to get duration value in handler (any of corresponding events). Duration's value of the audio is NAN.
Request Headers:
User-Agent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:27.0) Gecko/20100101 Firefox/27.0"
Accept-Encoding:"gzip, deflate"
Range:"bytes=0-"
Response Headers:
Accept-Ranges:"bytes"
Cache-Control:"max-age=2592000"
Connection:"keep-alive"
Content-Range:"bytes 0-7982471/7982472"
Content-Type:"audio/mpeg"
Server:"nginx/1.2.1"
Transfer-Encoding:"chunked"
X-Content-Type-Options:"nosniff"
Actual results:
NaN value of duration
Expected results:
Float pointing value of duration
Reporter | ||
Comment 1•11 years ago
|
||
Also I've noticed that there's no such issue when Content-Type is audio/mp3, but only when it's audio/mpeg.
For instance it doesn't matter for Crome in this case.
![]() |
||
Updated•11 years ago
|
Component: Untriaged → Video/Audio
Product: Firefox → Core
Whiteboard: [bugday-20140303]
Updated•9 years ago
|
Component: Audio/Video → Audio/Video: Playback
Comment 2•7 years ago
|
||
Mass closing because of inactivity.
Please feel free to re-open if still relevant.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•