@superinterface/react 2.24.0 → 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 +2 -2
package/dist/index.js
CHANGED
|
@@ -1474,7 +1474,10 @@ var Video = function(param) {
|
|
|
1474
1474
|
var src = param.src;
|
|
1475
1475
|
return /* @__PURE__ */ jsx39(MediaContainer, {
|
|
1476
1476
|
children: /* @__PURE__ */ jsxs11(MediaPlayer, {
|
|
1477
|
-
src:
|
|
1477
|
+
src: {
|
|
1478
|
+
src: src,
|
|
1479
|
+
type: "video/".concat(src.split(".").pop())
|
|
1480
|
+
},
|
|
1478
1481
|
playsInline: true,
|
|
1479
1482
|
hideControlsOnMouseLeave: true,
|
|
1480
1483
|
crossOrigin: true,
|