addTextTrack method

TextTrack addTextTrack(String kind, [ String label, String language ])

Source

TextTrack addTextTrack(String kind, [String label, String language]) {
  if (language != null) {
    return _blink.BlinkHTMLMediaElement.instance
        .addTextTrack_Callback_3_(this, kind, label, language);
  }
  if (label != null) {
    return _blink.BlinkHTMLMediaElement.instance
        .addTextTrack_Callback_2_(this, kind, label);
  }
  return _blink.BlinkHTMLMediaElement.instance
      .addTextTrack_Callback_1_(this, kind);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/MediaElement/addTextTrack.html