apm-react-audio-player 1.0.14 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -298,7 +298,7 @@ var ReactAudioPlayerInner = function ReactAudioPlayerInner(props) {
|
|
|
298
298
|
}, /*#__PURE__*/React__default.createElement("audio", {
|
|
299
299
|
ref: audioPlayerRef,
|
|
300
300
|
src: audioSrc,
|
|
301
|
-
preload: "
|
|
301
|
+
preload: "none",
|
|
302
302
|
onLoadedMetadata: onLoadedMetadata,
|
|
303
303
|
muted: isMuted
|
|
304
304
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -369,7 +369,8 @@ var ReactAudioPlayerInner = function ReactAudioPlayerInner(props) {
|
|
|
369
369
|
defaultValue: "0",
|
|
370
370
|
ref: progressBarRef,
|
|
371
371
|
onChange: changePlayerCurrentTime,
|
|
372
|
-
"aria-label": "Audio progress"
|
|
372
|
+
"aria-label": "Audio progress",
|
|
373
|
+
max: duration
|
|
373
374
|
})), /*#__PURE__*/React__default.createElement("div", {
|
|
374
375
|
className: "player-times"
|
|
375
376
|
}, /*#__PURE__*/React__default.createElement("div", {
|