Unverified Commit ef1fb152 authored by Ismail Ghallou's avatar Ismail Ghallou Committed by GitHub

docs: fix srclang prop (#62164)

### What?
- `srclang` -> `srcLang`

### Why?
React.js!
parent d397832e
......@@ -22,7 +22,7 @@ export function Video() {
<track
src="/path/to/captions.vtt"
kind="subtitles"
srclang="en"
srcLang="en"
label="English"
/>
Your browser does not support the video tag.
......@@ -229,7 +229,7 @@ async function VideoComponent({ fileName }) {
<track
src={captionsUrl}
kind="subtitles"
srclang="en"
srcLang="en"
label="English">
Your browser does not support the video tag.
</video>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment