@superinterface/react 2.24.1 → 2.24.2
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
|
@@ -1629,7 +1629,10 @@ var Video = function(param) {
|
|
|
1629
1629
|
var src = param.src;
|
|
1630
1630
|
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(MediaContainer, {
|
|
1631
1631
|
children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_react27.MediaPlayer, {
|
|
1632
|
-
src:
|
|
1632
|
+
src: {
|
|
1633
|
+
src: src,
|
|
1634
|
+
type: "video/".concat(src.split(".").pop())
|
|
1635
|
+
},
|
|
1633
1636
|
playsInline: true,
|
|
1634
1637
|
hideControlsOnMouseLeave: true,
|
|
1635
1638
|
crossOrigin: true,
|