Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change "video" to "medium", as the word should cover both audio and video #503

Merged
merged 3 commits into from
Jan 23, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ When the track ends, be kind — rewind:

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

- `duration` (readonly) — the total duration of the video, in seconds
- `duration` (readonly) — the total duration of the media, in seconds
Rich-Harris marked this conversation as resolved.
Show resolved Hide resolved
- `buffered` (readonly) — an array of `{start, end}` objects
- `seekable` (readonly) — ditto
- `played` (readonly) — ditto
Expand All @@ -75,8 +75,8 @@ The complete set of bindings for `<audio>` and `<video>` is as follows — seven

...and five _two-way_ bindings:

- `currentTime` — the current point in the video, in seconds
- `playbackRate` — how fast to play the video, where `1` is 'normal'
- `currentTime` — the current point in the media, in seconds
- `playbackRate` — how fast to play the media, where `1` is 'normal'
Rich-Harris marked this conversation as resolved.
Show resolved Hide resolved
- `paused` — this one should be self-explanatory
- `volume` — a value between 0 and 1
- `muted` — a boolean value where true is muted
Expand Down
Loading