[Bug 25354] [DataCue] data attribute should be ArrayBuffer?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25354

--- Comment #15 from Silvia Pfeiffer <silviapfeiffer1@gmail.com> ---
Let's discuss ID3 and metadata in bug 25354 .

I think there's still the problem of making .data on the DataCue constructor
optional.

I'm considering this in particular in the context of [1].

I can imagine DataCue objects to be created e.g. from SSA/ASS cues (which are
text) [2], but also from VOBSUB cues (which are binary data) [3].

I agree that we should get rid of one attribute.

We could just drop the .text attribute and put everything in .data, including
string, and expect the JS dev to convert as necessary. Seeing as .text was
always for convenience (to do this conversion for the JS dev), we have probably
just introduced more trouble than it's worth.


[1]
http://rawgit.com/silviapfeiffer/HTMLSourcingInbandTracks/master/index.html#webm
[2] http://matroska.org/technical/specs/subtitles/ssa.html
[3] http://matroska.org/technical/specs/subtitles/images.html

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 19 May 2014 08:35:57 UTC