You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*I18n and a11y supported, keyboards events supported.
23
23
* Support Media Source Extensions (MSE) and Encrypted Media Extensions (EME)
24
24
* Written in TypeScript.
25
25
@@ -120,6 +120,7 @@ The `controls` attribute defaults to `false` and should never be changed to `tru
120
120
| customControlsSection |[Array<string \|<br>ReactElement>](https://github.com/lhz516/react-h5-audio-player/blob/fa1a61eb7f77146e1ce4547a14181279be68ecfd/src/index.tsx#L92)|[ADDITIONAL_CONTROLS,<br>MAIN_CONTROLS,<br>VOLUME_CONTROLS]|[Custom layout](https://static.hanzluo.com/react-h5-audio-player-storybook/index.html?path=/docs/layouts-advanced) of controls section |
121
121
| customAdditionalControls |[Array<string \|<br>ReactElement>](https://github.com/lhz516/react-h5-audio-player/blob/fa1a61eb7f77146e1ce4547a14181279be68ecfd/src/index.tsx#L93)|[LOOP]|[Custom layout](https://static.hanzluo.com/react-h5-audio-player-storybook/index.html?path=/docs/layouts-advanced) of additional controls |
122
122
| customVolumeControls |[Array<string \|<br>ReactElement>](https://github.com/lhz516/react-h5-audio-player/blob/fa1a61eb7f77146e1ce4547a14181279be68ecfd/src/index.tsx#L94)|[VOLUME]|[Custom layout](https://static.hanzluo.com/react-h5-audio-player-storybook/index.html?path=/docs/layouts-advanced) of volume controls |
123
+
| i18nAriaLabels | Object | I18nAriaLabels | A configuration object to overwrite the default `aria-label` on the action buttons |
123
124
| mse | Object | null | A configuration object so the player can play audio chunks, MSE streams and encrypted audio (See [section about Media Source Extensions](#media-source-extensions-and-encrypted-media-extensions) in this Readme) |
124
125
| mse.srcDuration | number | - | The complete duration of the MSE audio chunks together (this is a key of the _mse_ prop) |
125
126
| mse.onSeek | Function (Event) | - | The callback to be used when seek happens (this is a key of the _mse_ prop) |
0 commit comments