Skip to content

Commit 40b4205

Browse files
StadlyRich-Harris
andauthored
Change "video" to "medium", as the word should cover both audio and video (#503)
* Change "video" to "medium", as the word should cover both audio and video * Apply suggestions from code review * Apply suggestions from code review --------- Co-authored-by: Rich Harris <[email protected]>
1 parent ffcb1c7 commit 40b4205

File tree

1 file changed

+3
-3
lines changed
  • content/tutorial/02-advanced-svelte/05-bindings/03-media-elements

1 file changed

+3
-3
lines changed

Diff for: content/tutorial/02-advanced-svelte/05-bindings/03-media-elements/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ When the track ends, be kind — rewind:
6565

6666
The complete set of bindings for `<audio>` and `<video>` is as follows — seven _readonly_ bindings...
6767

68-
- `duration` (readonly) — the total duration of the video, in seconds
68+
- `duration` (readonly) — the total duration, in seconds
6969
- `buffered` (readonly) — an array of `{start, end}` objects
7070
- `seekable` (readonly) — ditto
7171
- `played` (readonly) — ditto
@@ -75,8 +75,8 @@ The complete set of bindings for `<audio>` and `<video>` is as follows — seven
7575

7676
...and five _two-way_ bindings:
7777

78-
- `currentTime` — the current point in the video, in seconds
79-
- `playbackRate`how fast to play the video, where `1` is 'normal'
78+
- `currentTime` — the current position of the playhead, in seconds
79+
- `playbackRate`speed up or slow down (`1` is 'normal')
8080
- `paused` — this one should be self-explanatory
8181
- `volume` — a value between 0 and 1
8282
- `muted` — a boolean value where true is muted

0 commit comments

Comments
 (0)