@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.cjs
CHANGED
|
@@ -1683,7 +1683,10 @@ var Audio = function(param) {
|
|
|
1683
1683
|
var src = param.src;
|
|
1684
1684
|
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(MediaContainer, {
|
|
1685
1685
|
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_react28.MediaPlayer, {
|
|
1686
|
-
src:
|
|
1686
|
+
src: {
|
|
1687
|
+
src: src,
|
|
1688
|
+
type: "audio/".concat(src.split(".").pop())
|
|
1689
|
+
},
|
|
1687
1690
|
viewType: "audio",
|
|
1688
1691
|
crossOrigin: true,
|
|
1689
1692
|
playsInline: true,
|