@superinterface/react 2.24.2 → 2.24.3
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.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1528,7 +1528,10 @@ var Audio = function(param) {
|
|
|
1528
1528
|
var src = param.src;
|
|
1529
1529
|
return /* @__PURE__ */ jsx40(MediaContainer, {
|
|
1530
1530
|
children: /* @__PURE__ */ jsxs12(MediaPlayer2, {
|
|
1531
|
-
src:
|
|
1531
|
+
src: {
|
|
1532
|
+
src: src,
|
|
1533
|
+
type: "audio/".concat(src.split(".").pop())
|
|
1534
|
+
},
|
|
1532
1535
|
viewType: "audio",
|
|
1533
1536
|
crossOrigin: true,
|
|
1534
1537
|
playsInline: true,
|