Closed Bug 475316 Opened 16 years ago Closed 14 years ago

Firefox should detect if videos can't be played with the correct speed and take appropriate measures

Categories

(Core :: Audio/Video, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: ria.klaassen, Unassigned)

References

()

Details

If I try to play the movie in the URL it goes in slow motion (less than 20% of the intended speed) and the sound is horrific. The user can experience this as a failure of the browser. I suggest that the browser should detect if the movie can't run correctly, and do an attempt to resize the movie.
Flags: blocking1.9.1?
I don't really think there's much we can do. The problem won't be helped by resizing the movie.
Flags: wanted1.9.1-
Flags: blocking1.9.1?
Flags: blocking1.9.1-
Blocks: 476397
Firefox should at least warn you if it's going to try to do something that's going to lag out your computer, and give the option to tell it never to do it in future. Is there somewhere is the <video> spec that allows a website to feature detect a browser's ability to play a specific video?
There's nothing in the spec to allow a website to feature detect if a browser is having problems playing a video for performance or bandwidth reasons. See bug 580531 for pointers to some discussion on the WHATWG list about this and a patch to expose framerate to JavaScript.
We now skip the decode up to the next keyframe if the decode isn't keeping up with the playback, and we skip drawing frames if we're falling behind.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.