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.
Files changed (2) hide show
  1. package/dist/index.js +4 -6
  2. 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(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
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))))), /*#__PURE__*/React.createElement("div", {
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"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apm-react-audio-player",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "author": "Jason Phan <jphan@mpr.org>",
5
5
  "license": "MIT",
6
6
  "private": false,