@microfox/remotion 1.0.1 → 1.0.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/CHANGELOG.md +6 -0
- package/dist/index.d.mts +19 -94
- package/dist/index.d.ts +19 -94
- package/dist/index.js +14 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -17
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -842,7 +842,7 @@ import { z } from "zod";
|
|
|
842
842
|
var VideoAtomDataProps = z.object({
|
|
843
843
|
src: z.string(),
|
|
844
844
|
// Video source URL
|
|
845
|
-
style: z.record(z.any()).optional(),
|
|
845
|
+
style: z.record(z.string(), z.any()).optional(),
|
|
846
846
|
// CSS styles object
|
|
847
847
|
className: z.string().optional(),
|
|
848
848
|
// CSS class names
|
|
@@ -881,22 +881,19 @@ var Atom4 = ({ data }) => {
|
|
|
881
881
|
const objectFit = data.fit ? { objectFit: data.fit } : {};
|
|
882
882
|
return { ...baseStyle, ...objectFit };
|
|
883
883
|
}, [data.style, data.fit]);
|
|
884
|
-
return (
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
loop: data.loop
|
|
898
|
-
}
|
|
899
|
-
)
|
|
884
|
+
return /* @__PURE__ */ React10.createElement(
|
|
885
|
+
Video,
|
|
886
|
+
{
|
|
887
|
+
className: data.className,
|
|
888
|
+
src: source,
|
|
889
|
+
style: combinedStyle,
|
|
890
|
+
trimBefore,
|
|
891
|
+
trimAfter,
|
|
892
|
+
playbackRate: data.playbackRate,
|
|
893
|
+
volume: data.volume,
|
|
894
|
+
muted: data.muted,
|
|
895
|
+
loop: data.loop
|
|
896
|
+
}
|
|
900
897
|
);
|
|
901
898
|
};
|
|
902
899
|
var config5 = {
|