Skip to content

Commit

Permalink
Fix tutorial instructions refer to wrong line number in code (#6342)
Browse files Browse the repository at this point in the history
Instructions refer to wrong line number

Video element is not on line 116, it's on line 58
  • Loading branch information
ogre-yoga authored May 19, 2021
1 parent b11f5b1 commit 3301b09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/content/tutorial/06-bindings/10-media-elements/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.

0 comments on commit 3301b09

Please sign in to comment.