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

RESOLVED FIXED

Status

()

Core
Audio/Video
RESOLVED FIXED
8 years ago
7 years ago

People

(Reporter: Ria Klaassen (not reading all bugmail), Unassigned)

Tracking

Trunk
x86
Windows XP
Points:
---
Bug Flags:
blocking1.9.1 -
wanted1.9.1 -

Firefox Tracking Flags

(Not tracked)

Details

(URL)

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-

Updated

8 years ago
Blocks: 476397

Comment 2

8 years ago
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?

Comment 3

7 years ago
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
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.