mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-28 21:00:56 +08:00
fix(curriculum): note Safari audio volume behavior (#65543)
This commit is contained in:
parent
4f29ac70ac
commit
5da8fdea0f
@ -34,7 +34,9 @@ Press play in the preview window to hear one of Quincy Larson's songs. To hear a
|
||||
|
||||
:::
|
||||
|
||||
The `controls` attribute enables users to manage audio playback, including adjusting volume, and pausing, or resuming playback. The `controls` attribute is a boolean attribute that can be added to an element to enable built-in playback controls. If omitted, no controls will be shown.
|
||||
The `controls` attribute enables users to manage audio playback, including pausing or resuming playback. The `controls` attribute is a boolean attribute that can be added to an element to enable built-in playback controls. If omitted, no controls will be shown.
|
||||
|
||||
Note: Some browsers, such as Safari, may not display a volume control by default even when the `controls` attribute is present.
|
||||
|
||||
Apart from the `src` and `controls` attributes, there are several other attributes that enhance the functionality of the `audio` element. The `loop` attribute is a boolean attribute that makes the audio replay continuously.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user