Skip to content

Commit 41e0f98

Browse files
docs: Tweak textTracks example
1 parent 7503835 commit 41e0f98

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/pages/cldvideoplayer/configuration.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -523,18 +523,18 @@ be loaded from as well as any customization of that track.
523523

524524
**Examples**
525525

526-
```jsx
526+
```jsx copy
527527
<CldVideoPlayer
528-
textTracks={{
529-
captions: {
530-
label: 'English',
531-
language: 'en',
532-
default: true,
533-
url: 'https://res.cloudinary.com/<Cloud Name>/raw/upload/<FileName>.vtt'
528+
textTracks={{
529+
captions: {
530+
label: 'English',
531+
language: 'en',
532+
default: true,
533+
url: 'https://res.cloudinary.com/<Cloud Name>/raw/upload/<File Name>.vtt'
534534
}
535535
}
536536
}
537-
/>
537+
... />
538538
```
539539

540540
Learn more on the [Video Player Reference](https://cloudinary.com/documentation/video_player_api_reference#text_tracks) or

0 commit comments

Comments
 (0)