apm-react-audio-player 1.0.25 → 1.0.26
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 +4 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -356,9 +356,11 @@ var ReactAudioPlayerInner = function ReactAudioPlayerInner(props) {
|
|
|
356
356
|
}, /*#__PURE__*/React.createElement("img", {
|
|
357
357
|
src: "/img/icon-forward-15.svg",
|
|
358
358
|
alt: "Forward 15 seconds"
|
|
359
|
-
})))), !isLive && /*#__PURE__*/React.createElement(
|
|
359
|
+
})))), !isLive && /*#__PURE__*/React.createElement("div", {
|
|
360
360
|
className: "player-timeline"
|
|
361
361
|
}, /*#__PURE__*/React.createElement("div", {
|
|
362
|
+
className: "player-currentTime"
|
|
363
|
+
}, calculateTime(currentTime)), /*#__PURE__*/React.createElement("div", {
|
|
362
364
|
className: "player-timeline-progress-outer"
|
|
363
365
|
}, /*#__PURE__*/React.createElement("input", {
|
|
364
366
|
type: "range",
|
|
@@ -369,13 +371,9 @@ var ReactAudioPlayerInner = function ReactAudioPlayerInner(props) {
|
|
|
369
371
|
"aria-label": "Audio progress",
|
|
370
372
|
max: duration
|
|
371
373
|
})), /*#__PURE__*/React.createElement("div", {
|
|
372
|
-
className: "player-times"
|
|
373
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
374
|
-
className: "player-currentTime"
|
|
375
|
-
}, calculateTime(currentTime)), /*#__PURE__*/React.createElement("div", {
|
|
376
374
|
className: "player-duration",
|
|
377
375
|
style: customStyles && customStyles.duration
|
|
378
|
-
}, duration && !isNaN(duration) && calculateTime(duration)))
|
|
376
|
+
}, duration && !isNaN(duration) && calculateTime(duration))), /*#__PURE__*/React.createElement("div", {
|
|
379
377
|
className: "player-content"
|
|
380
378
|
}, customHtml && customHtml, /*#__PURE__*/React.createElement("div", {
|
|
381
379
|
className: "player-audio-type type-sm"
|