Closed Bug 884884 Opened 9 years ago Closed 8 years ago
[webvtt] The loading of cue data is timing out in tests on android
No description provided.
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=Tryfirstname.lastname@example.org 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.
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.
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.