Skip to content

Commit

Permalink
the add to batch button wasnt working so im doing this
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Chen <[email protected]>
  • Loading branch information
gusborg88 and Josh-Cena authored Sep 30, 2024
1 parent 02be87c commit c858189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/api/htmlmediaelement/addtexttrack/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ None.

## Examples

This example adds a new {{domxref("TextTrack")}} with the `kind` as subtitles, and adds a new {{domxref("VTTCue")}} to that.
This example adds a new {{domxref("TextTrack")}} with the `kind` set to `"subtitles"`, and adds a new {{domxref("VTTCue")}} to that.

```js
const video = document.querySelector("video");
Expand Down

0 comments on commit c858189

Please sign in to comment.