Closed
Bug 740124
Opened 13 years ago
Closed 7 years ago
duration is not set when video is accessed through appCache
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: kaze, Unassigned)
References
Details
Attachments
(1 file)
1.28 MB,
patch
|
Details | Diff | Splinter Review |
See https://github.com/andreasgal/gaia/issues/1062
When a video is accessed through appCache, the .duration property is never set — even when the video is playing.
Comment 1•13 years ago
|
||
What's the "appCache"? Some sort of file system? Does it (or our implementation which interacts with it) support seeking? Getting the duration in Ogg video depends on the being able to seek in the media (unless the Ogg includes an index, and many don't).
Comment 2•13 years ago
|
||
the "appCache" here is the offline application cache. We preload it on b2g with various resources for default apps, including sample videos.
They are then accessed through an http:// URL, but I'm not sure if the stream it seekable.
Comment 3•13 years ago
|
||
Right, so if it's accessed through http then we'll be copying it into the media cache (on disk) and reading it from there, which seems a waste since it's already on disk. Can you pass file URIs? Those don't go into the media cache.
Comment 4•13 years ago
|
||
We tried to use file:// urls, but that doesn't work because that triggers a "dom security error".
Comment 5•13 years ago
|
||
Here is a minimal testcase I while investigating.
Comment 6•13 years ago
|
||
sting with Otoro, build from tip (mozilla-b2g) from 7/18
Now, the opposite problem exists. Lauching a video shows the progress scrubber at the END of the video!
Tapping the rewind (<<) key however, a few times, takes the video back to the beginning, and, after having done this, now the scrubber is syncroinized with the video. Almost. Except there's still quite a bit of video left after the scrubber reaches the end.
So, closing this, but filing a new bug.
Comment 7•13 years ago
|
||
So, closing the gaia issue related to this, but filing a new bug : https://github.com/mozilla-b2g/gaia/issues/2604 - [Video App] Progress Scrubber already at end/not in sync with video playback
Updated•9 years ago
|
Component: Audio/Video → Audio/Video: Playback
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•