A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.cdn.mozilla.net/ja/docs/Web/API/TextTrack/activeCues below:

TextTrack.activeCues - Web API | MDN

TextTrack.activeCues

Baseline Widely available

activeCues は TextTrack インターフェイスの読み取り専用プロパティで、現在アクティブなキューを列挙した TextTrackCueList オブジェクトを返します。

値

TextTrackCueList オブジェクトです。

例

以下の例では、動画に新しい TextTrack を追加しています。 activeCues はコンソールに表示されます。

let video = document.querySelector("video");
let track = video.addTextTrack("captions", "Captions", "en");
track.mode = "showing";
console.log(track.activeCues);
仕様書 ブラウザーの互換性

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4