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() { ...@@ -22,7 +22,7 @@ export function Video() {
<track <track
src="/path/to/captions.vtt" src="/path/to/captions.vtt"
kind="subtitles" kind="subtitles"
srclang="en" srcLang="en"
label="English" label="English"
/> />
Your browser does not support the video tag. Your browser does not support the video tag.
...@@ -229,7 +229,7 @@ async function VideoComponent({ fileName }) { ...@@ -229,7 +229,7 @@ async function VideoComponent({ fileName }) {
<track <track
src={captionsUrl} src={captionsUrl}
kind="subtitles" kind="subtitles"
srclang="en" srcLang="en"
label="English"> label="English">
Your browser does not support the video tag. Your browser does not support the video tag.
</video> </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