Bug 95691 - GetCueAsHTML returns truncated content
Summary: GetCueAsHTML returns truncated content
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P2 Normal
Assignee: Nobody
URL: http://perso.telecom-paristech.fr/~co...
Keywords:
Depends on:
Blocks: 43668
  Show dependency treegraph
 
Reported: 2012-09-03 07:41 PDT by Cyril Concolato
Modified: 2013-09-23 16:33 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cyril Concolato 2012-09-03 07:41:42 PDT
I'm using WebVTT metadata tracks to carry SVG content. At a given time, only one cue is active. 
I'm getting the text using getCueAsHTML but sometimes I have a weird behavior: there are 2 active cues and one of them has truncated text.
Comment 1 Eric Carlson 2012-09-06 11:04:13 PDT
This may be related to https://bugs.webkit.org/show_bug.cgi?id=94651. Please retest once that patch makes it into a nightly.
Comment 2 Brendan Long 2013-09-23 15:49:33 PDT
WebVTTParser doesn't do any buffering except for the first line, so if your web server sends a cue in two parts, it will ignore the second half of the cue.
Comment 3 Eric Carlson 2013-09-23 16:33:02 PDT
The patch attached to https://bugs.webkit.org/show_bug.cgi?id=81123 might fix this, but it needs to be rebased and tested.