as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
メインコンテンツへスキップ
https://html.spec.whatwg.org/multipage/media.html#texttrack

Extends

Properties

id

readonly id: string
For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-texttrack-id.

kind

readonly kind: string
For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-texttrack-kind.

label

readonly label: string
For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-texttrack-label.

language

readonly language: string
For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-texttrack-language.

inBandMetadataTrackDispatchType

readonly inBandMetadataTrackDispatchType: string
https://html.spec.whatwg.org/multipage/media.html#dom-texttrack-inbandmetadatatrackdispatchtype

mode

mode: TextTrackMode
For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-texttrack-mode.

cues

readonly cues: TextTrackCueList
https://html.spec.whatwg.org/multipage/media.html#dom-texttrack-cues

activeCues

readonly activeCues: TextTrackCueList
https://html.spec.whatwg.org/multipage/media.html#dom-texttrack-activecues

oncuechange

oncuechange: EventHandler
https://html.spec.whatwg.org/multipage/media.html#handler-texttrack-oncuechange

Parameters

event?
import("./EventTargetInterface").Event

Returns

any

Methods

addCue()

addCue(cue: TextTrackCue): void
https://html.spec.whatwg.org/multipage/media.html#dom-texttrack-addcue

Parameters

cue
TextTrackCue

removeCue()

removeCue(cue: TextTrackCue): void
https://html.spec.whatwg.org/multipage/media.html#dom-texttrack-removecue

Parameters

cue
TextTrackCue
最終更新日 2026年8月25日