mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): note Safari audio volume behavior (#65543)
This commit is contained in:
+3
-1
@@ -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.
|
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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user