Re: Lack of removeTextTrack?

> On Feb 24, 2015, at 6:11 PM, Karl Dubost <karl@la-grange.net> wrote:
> 
> Ian,
> 
> 
> Le 25 févr. 2015 à 05:38, Ian Devlin <ian@iandevlin.com> a écrit :
>> I was exploring the Text Track API the other day and noticed that although there's a function to add a text track to media, addTextTrack() (http://www.w3.org/html/wg/drafts/html/master/#dom-media-addtexttrack) there doesn't seem to be any way to remove one, for example removeTextTrack().
> 
> I don't know myself.
> Digging around:
> 
> # Apple
> * Bug 114630: HTMLMediaElement::removeTextTrack should clear track client (FIXED)
>  https://bugs.webkit.org/show_bug.cgi?id=114630
> 
  HTMLMediaElement::removeTextTrack is an internal method, it is not exposed to script: http://trac.webkit.org/browser/trunk/Source/WebCore/html/HTMLMediaElement.idl#L125

eric

Received on Thursday, 26 February 2015 14:03:55 UTC