Closed Bug 884884 Opened 9 years ago Closed 8 years ago

[webvtt] The loading of cue data is timing out in tests on android

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: reyre, Unassigned)

References

Details

Attachments

(1 file)

No description provided.
Blocks: 833386, 884879, 882131
Blocks: 883173
So the "loadedmetadata" event doesn't seem to be being called in the way we have our test's currently set up.

https://tbpl.mozilla.org/?tree=Try&rev=6e228a4c49f8 does not work (relying on loadedmetadata event to tell us when cue's are loaded) but https://tbpl.mozilla.org/?tree=Try&rev=6c0dd7bed40e&pusher=rick.eyre@hotmail.com does work (relying on HTMLTrackElement ready state to tell us).
No longer blocks: 884879
Is "loadedmetadata" not supposed to be called on mobile Chris? I've checked on Webkit and it seems to behave the same way as Firefox for Android.
Flags: needinfo?(cpearce)
By default, on mobile we set the "preload" attribute on media elements to "none". This is to prevent excessive data charges on 3G plans etc.

Try adding "preload" or "preload=auto" to your media elements.
Flags: needinfo?(cpearce)
This works perfectly. Thanks Chris.

Marking as invalid as we understand the problem and it's not a bug.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.