File tree 2 files changed +5
-2
lines changed
tutorial/06-bindings/10-media-elements
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -594,12 +594,13 @@ Media elements (`<audio>` and `<video>`) have their own set of bindings — six
594
594
* ` seeking ` (readonly) — boolean
595
595
* ` ended ` (readonly) — boolean
596
596
597
- ...and four * two-way* bindings:
597
+ ...and five * two-way* bindings:
598
598
599
599
* ` currentTime ` — the current point in the video, in seconds
600
600
* ` playbackRate ` — how fast to play the video, where 1 is 'normal'
601
601
* ` paused ` — this one should be self-explanatory
602
602
* ` volume ` — a value between 0 and 1
603
+ * ` muted ` — a boolean value where true is muted
603
604
604
605
Videos additionally have readonly ` videoWidth ` and ` videoHeight ` bindings.
605
606
@@ -615,6 +616,7 @@ Videos additionally have readonly `videoWidth` and `videoHeight` bindings.
615
616
bind:currentTime
616
617
bind:paused
617
618
bind:volume
619
+ bind:muted
618
620
bind:videoWidth
619
621
bind:videoHeight
620
622
></video >
Original file line number Diff line number Diff line change @@ -33,11 +33,12 @@ The complete set of bindings for `<audio>` and `<video>` is as follows — six *
33
33
* ` seeking ` (readonly) — boolean
34
34
* ` ended ` (readonly) — boolean
35
35
36
- ...and four * two-way* bindings:
36
+ ...and five * two-way* bindings:
37
37
38
38
* ` currentTime ` — the current point in the video, in seconds
39
39
* ` playbackRate ` — how fast to play the video, where ` 1 ` is 'normal'
40
40
* ` paused ` — this one should be self-explanatory
41
41
* ` volume ` — a value between 0 and 1
42
+ * ` muted ` — a boolean value where true is muted
42
43
43
44
Videos additionally have readonly ` videoWidth ` and ` videoHeight ` bindings.
You can’t perform that action at this time.
0 commit comments