mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-30 08:56:14 +01:00
Fix tutorial instructions refer to wrong line number in code (#6342)
Instructions refer to wrong line number Video element is not on line 116, it's on line 58
This commit is contained in:
parent
b11f5b12f5
commit
3301b09619
@ -4,7 +4,7 @@ title: Media elements
|
||||
|
||||
The `<audio>` and `<video>` elements have several properties that you can bind to. This example demonstrates a few of them.
|
||||
|
||||
On line 116, add `currentTime={time}`, `duration` and `paused` bindings:
|
||||
On line 58, add `currentTime={time}`, `duration` and `paused` bindings:
|
||||
|
||||
```html
|
||||
<video
|
||||
@ -41,4 +41,4 @@ The complete set of bindings for `<audio>` and `<video>` is as follows — six *
|
||||
* `volume` — a value between 0 and 1
|
||||
* `muted` — a boolean value where true is muted
|
||||
|
||||
Videos additionally have readonly `videoWidth` and `videoHeight` bindings.
|
||||
Videos additionally have readonly `videoWidth` and `videoHeight` bindings.
|
||||
|
Loading…
Reference in New Issue
Block a user