remotion 2.6.9 → 2.6.12

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.
Files changed (82) hide show
  1. package/.turbo/turbo-build.log +2 -2
  2. package/LICENSE.md +2 -2
  3. package/dist/AbsoluteFill.js +1 -1
  4. package/dist/AbsoluteFill.js.map +1 -1
  5. package/dist/CompositionManager.js +1 -1
  6. package/dist/CompositionManager.js.map +1 -1
  7. package/dist/IFrame.js +1 -1
  8. package/dist/IFrame.js.map +1 -1
  9. package/dist/Img.js +1 -1
  10. package/dist/Img.js.map +1 -1
  11. package/dist/RemotionRoot.js +3 -3
  12. package/dist/RemotionRoot.js.map +1 -1
  13. package/dist/Still.js +1 -1
  14. package/dist/Still.js.map +1 -1
  15. package/dist/audio/Audio.d.ts +2 -2
  16. package/dist/audio/Audio.d.ts.map +1 -1
  17. package/dist/audio/Audio.js +3 -3
  18. package/dist/audio/Audio.js.map +1 -1
  19. package/dist/audio/AudioForDevelopment.d.ts +2 -2
  20. package/dist/audio/AudioForDevelopment.d.ts.map +1 -1
  21. package/dist/audio/AudioForDevelopment.js +1 -1
  22. package/dist/audio/AudioForDevelopment.js.map +1 -1
  23. package/dist/audio/AudioForRendering.d.ts +1 -1
  24. package/dist/audio/AudioForRendering.d.ts.map +1 -1
  25. package/dist/audio/AudioForRendering.js +1 -1
  26. package/dist/audio/AudioForRendering.js.map +1 -1
  27. package/dist/audio/props.d.ts +1 -1
  28. package/dist/audio/props.d.ts.map +1 -1
  29. package/dist/audio/shared-audio-tags.js +3 -3
  30. package/dist/audio/shared-audio-tags.js.map +1 -1
  31. package/dist/freeze.js +1 -1
  32. package/dist/freeze.js.map +1 -1
  33. package/dist/index.d.ts +3 -0
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js.map +1 -1
  36. package/dist/internals.d.ts +3 -3
  37. package/dist/interpolate.d.ts +11 -0
  38. package/dist/interpolate.d.ts.map +1 -1
  39. package/dist/interpolate.js +11 -0
  40. package/dist/interpolate.js.map +1 -1
  41. package/dist/loop/index.js +1 -1
  42. package/dist/loop/index.js.map +1 -1
  43. package/dist/play-and-handle-not-allowed-error.d.ts.map +1 -1
  44. package/dist/play-and-handle-not-allowed-error.js +10 -3
  45. package/dist/play-and-handle-not-allowed-error.js.map +1 -1
  46. package/dist/sequencing/index.js +2 -2
  47. package/dist/sequencing/index.js.map +1 -1
  48. package/dist/series/index.js +1 -1
  49. package/dist/series/index.js.map +1 -1
  50. package/dist/spring/index.d.ts +13 -0
  51. package/dist/spring/index.d.ts.map +1 -1
  52. package/dist/spring/index.js +13 -0
  53. package/dist/spring/index.js.map +1 -1
  54. package/dist/use-frame.d.ts +5 -0
  55. package/dist/use-frame.d.ts.map +1 -1
  56. package/dist/use-frame.js +5 -0
  57. package/dist/use-frame.js.map +1 -1
  58. package/dist/use-video-config.d.ts +5 -0
  59. package/dist/use-video-config.d.ts.map +1 -1
  60. package/dist/use-video-config.js +5 -0
  61. package/dist/use-video-config.js.map +1 -1
  62. package/dist/validation/validate-folder-name.d.ts +4 -0
  63. package/dist/validation/validate-folder-name.d.ts.map +1 -0
  64. package/dist/validation/validate-folder-name.js +14 -0
  65. package/dist/validation/validate-folder-name.js.map +1 -0
  66. package/dist/video/Video.d.ts +2 -2
  67. package/dist/video/Video.d.ts.map +1 -1
  68. package/dist/video/Video.js +3 -3
  69. package/dist/video/Video.js.map +1 -1
  70. package/dist/video/VideoForDevelopment.d.ts +1 -1
  71. package/dist/video/VideoForDevelopment.d.ts.map +1 -1
  72. package/dist/video/VideoForDevelopment.js +1 -1
  73. package/dist/video/VideoForDevelopment.js.map +1 -1
  74. package/dist/video/VideoForRendering.d.ts +1 -1
  75. package/dist/video/VideoForRendering.d.ts.map +1 -1
  76. package/dist/video/VideoForRendering.js +1 -1
  77. package/dist/video/VideoForRendering.js.map +1 -1
  78. package/dist/video/props.d.ts +1 -1
  79. package/dist/video/props.d.ts.map +1 -1
  80. package/dist/wrap-remotion-context.js +1 -1
  81. package/dist/wrap-remotion-context.js.map +1 -1
  82. package/package.json +14 -3
@@ -21,7 +21,7 @@ const Loop = ({ durationInFrames, times = Infinity, children, layout, name, }) =
21
21
  return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: new Array(actualTimes).fill(true).map((_, i) => {
22
22
  return ((0, jsx_runtime_1.jsx)(__1.Sequence
23
23
  // eslint-disable-next-line react/no-array-index-key
24
- , Object.assign({ durationInFrames: durationInFrames, from: i * durationInFrames, layout: layout, name: name, showLoopTimesInTimeline: actualTimes, showInTimeline: i === 0 }, { children: children }), `loop-${i}`));
24
+ , { durationInFrames: durationInFrames, from: i * durationInFrames, layout: layout, name: name, showLoopTimesInTimeline: actualTimes, showInTimeline: i === 0, children: children }, `loop-${i}`));
25
25
  }) }, void 0));
26
26
  };
27
27
  exports.Loop = Loop;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/loop/index.tsx"],"names":[],"mappings":";;;;AACA,0BAA4C;AAC5C,2FAAmF;AAW5E,MAAM,IAAI,GAAwB,CAAC,EACzC,gBAAgB,EAChB,KAAK,GAAG,QAAQ,EAChB,QAAQ,EACR,MAAM,EACN,IAAI,GACJ,EAAE,EAAE;IACJ,MAAM,EAAC,gBAAgB,EAAE,YAAY,EAAC,GAAG,IAAA,kBAAc,GAAE,CAAC;IAC1D,IAAA,sDAAwB,EAAC,gBAAgB,EAAE,2BAA2B,CAAC,CAAC;IAExE,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;QAC9B,MAAM,IAAI,SAAS,CAClB,6CAA6C,OAAO,KAAK,4BAA4B,CACrF,CAAC;KACF;IAED,IAAI,KAAK,KAAK,QAAQ,IAAI,KAAK,GAAG,CAAC,KAAK,CAAC,EAAE;QAC1C,MAAM,IAAI,SAAS,CAClB,0DAA0D,KAAK,GAAG,CAClE,CAAC;KACF;IAED,IAAI,KAAK,GAAG,CAAC,EAAE;QACd,MAAM,IAAI,SAAS,CAClB,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C,KAAK,CAAC,EAAE;QAC1C,MAAM,IAAI,SAAS,CAClB,0DAA0D,KAAK,GAAG,CAClE,CAAC;KACF;IAED,IAAI,KAAK,GAAG,CAAC,EAAE;QACd,MAAM,IAAI,SAAS,CAClB,0DAA0D,KAAK,EAAE,CACjE,CAAC;KACF;IAED,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,YAAY,GAAG,gBAAgB,CAAC,CAAC;IAC5D,MAAM,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;IAE9C,OAAO,CACN,2DACE,IAAI,KAAK,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;YAC/C,OAAO,CACN,uBAAC,YAAQ;YACR,oDAAoD;gBAEpD,gBAAgB,EAAE,gBAAgB,EAClC,IAAI,EAAE,CAAC,GAAG,gBAAgB,EAC1B,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,IAAI,EACV,uBAAuB,EAAE,WAAW,EACpC,cAAc,EAAE,CAAC,KAAK,CAAC,YAEtB,QAAQ,IARJ,QAAQ,CAAC,EAAE,CASN,CACX,CAAC;QACH,CAAC,CAAC,WACA,CACH,CAAC;AACH,CAAC,CAAC;AAnDW,QAAA,IAAI,QAmDf"}
@@ -1 +1 @@
1
- {"version":3,"file":"play-and-handle-not-allowed-error.d.ts","sourceRoot":"","sources":["../src/play-and-handle-not-allowed-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAEhC,eAAO,MAAM,4BAA4B,aAC9B,UAAU,gBAAgB,GAAG,gBAAgB,CAAC,aAC7C,OAAO,GAAG,OAAO,SAqC5B,CAAC"}
1
+ {"version":3,"file":"play-and-handle-not-allowed-error.d.ts","sourceRoot":"","sources":["../src/play-and-handle-not-allowed-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAEhC,eAAO,MAAM,4BAA4B,aAC9B,UAAU,gBAAgB,GAAG,gBAAgB,CAAC,aAC7C,OAAO,GAAG,OAAO,SAgD5B,CAAC"}
@@ -3,9 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.playAndHandleNotAllowedError = void 0;
4
4
  const playAndHandleNotAllowedError = (mediaRef, mediaType) => {
5
5
  const { current } = mediaRef;
6
- const prom = current === null || current === void 0 ? void 0 : current.play();
7
- if (prom === null || prom === void 0 ? void 0 : prom.catch) {
8
- prom === null || prom === void 0 ? void 0 : prom.catch((err) => {
6
+ if (!current) {
7
+ return;
8
+ }
9
+ const prom = current.play();
10
+ if (prom.catch) {
11
+ prom.catch((err) => {
9
12
  if (!current) {
10
13
  return;
11
14
  }
@@ -21,6 +24,10 @@ const playAndHandleNotAllowedError = (mediaRef, mediaType) => {
21
24
  if (err.message.includes('The fetching process for the media resource was aborted by the user agent')) {
22
25
  return;
23
26
  }
27
+ // Got replaced by a different audio source in Chromium
28
+ if (err.message.includes('request was interrupted by a new load request')) {
29
+ return;
30
+ }
24
31
  console.log(`Could not play ${mediaType} due to following error: `, err);
25
32
  if (!current.muted) {
26
33
  console.log(`The video will be muted and we'll retry playing it.`, err);
@@ -1 +1 @@
1
- {"version":3,"file":"play-and-handle-not-allowed-error.js","sourceRoot":"","sources":["../src/play-and-handle-not-allowed-error.ts"],"names":[],"mappings":";;;AAEO,MAAM,4BAA4B,GAAG,CAC3C,QAAwD,EACxD,SAA4B,EAC3B,EAAE;IACH,MAAM,EAAC,OAAO,EAAC,GAAG,QAAQ,CAAC;IAC3B,MAAM,IAAI,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,EAAE,CAAC;IAC7B,IAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAE;QAChB,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,CAAC,CAAC,GAAU,EAAE,EAAE;YAC1B,IAAI,CAAC,OAAO,EAAE;gBACb,OAAO;aACP;YAED,wCAAwC;YACxC,IAAI,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,4CAA4C,CAAC,EAAE;gBACvE,OAAO;aACP;YAED,wCAAwC;YACxC,IAAI,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CAAC,EAAE;gBACvD,OAAO;aACP;YAED,yCAAyC;YACzC,IACC,GAAG,CAAC,OAAO,CAAC,QAAQ,CACnB,2EAA2E,CAC3E,EACA;gBACD,OAAO;aACP;YAED,OAAO,CAAC,GAAG,CAAC,kBAAkB,SAAS,2BAA2B,EAAE,GAAG,CAAC,CAAC;YACzE,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE;gBACnB,OAAO,CAAC,GAAG,CAAC,qDAAqD,EAAE,GAAG,CAAC,CAAC;gBACxE,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;gBACrB,OAAO,CAAC,IAAI,EAAE,CAAC;aACf;QACF,CAAC,CAAC,CAAC;KACH;AACF,CAAC,CAAC;AAvCW,QAAA,4BAA4B,gCAuCvC"}
1
+ {"version":3,"file":"play-and-handle-not-allowed-error.js","sourceRoot":"","sources":["../src/play-and-handle-not-allowed-error.ts"],"names":[],"mappings":";;;AAEO,MAAM,4BAA4B,GAAG,CAC3C,QAAwD,EACxD,SAA4B,EAC3B,EAAE;IACH,MAAM,EAAC,OAAO,EAAC,GAAG,QAAQ,CAAC;IAC3B,IAAI,CAAC,OAAO,EAAE;QACb,OAAO;KACP;IAED,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;IAC5B,IAAI,IAAI,CAAC,KAAK,EAAE;QACf,IAAI,CAAC,KAAK,CAAC,CAAC,GAAU,EAAE,EAAE;YACzB,IAAI,CAAC,OAAO,EAAE;gBACb,OAAO;aACP;YAED,wCAAwC;YACxC,IAAI,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,4CAA4C,CAAC,EAAE;gBACvE,OAAO;aACP;YAED,wCAAwC;YACxC,IAAI,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CAAC,EAAE;gBACvD,OAAO;aACP;YAED,yCAAyC;YACzC,IACC,GAAG,CAAC,OAAO,CAAC,QAAQ,CACnB,2EAA2E,CAC3E,EACA;gBACD,OAAO;aACP;YAED,uDAAuD;YACvD,IACC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,+CAA+C,CAAC,EACpE;gBACD,OAAO;aACP;YAED,OAAO,CAAC,GAAG,CAAC,kBAAkB,SAAS,2BAA2B,EAAE,GAAG,CAAC,CAAC;YACzE,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE;gBACnB,OAAO,CAAC,GAAG,CAAC,qDAAqD,EAAE,GAAG,CAAC,CAAC;gBACxE,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;gBACrB,OAAO,CAAC,IAAI,EAAE,CAAC;aACf;QACF,CAAC,CAAC,CAAC;KACH;AACF,CAAC,CAAC;AAlDW,QAAA,4BAA4B,gCAkDvC"}
@@ -109,7 +109,7 @@ const Sequence = ({ from, durationInFrames = Infinity, children, name, layout =
109
109
  : absoluteFrame > endThreshold
110
110
  ? null
111
111
  : children;
112
- return ((0, jsx_runtime_1.jsx)(exports.SequenceContext.Provider, Object.assign({ value: contextValue }, { children: content === null ? null : layout === 'absolute-fill' ? ((0, jsx_runtime_1.jsx)("div", Object.assign({ style: {
112
+ return ((0, jsx_runtime_1.jsx)(exports.SequenceContext.Provider, { value: contextValue, children: content === null ? null : layout === 'absolute-fill' ? ((0, jsx_runtime_1.jsx)("div", { style: {
113
113
  position: 'absolute',
114
114
  display: 'flex',
115
115
  width: '100%',
@@ -118,7 +118,7 @@ const Sequence = ({ from, durationInFrames = Infinity, children, name, layout =
118
118
  bottom: 0,
119
119
  left: 0,
120
120
  right: 0,
121
- } }, { children: content }), void 0)) : (content) }), void 0));
121
+ }, children: content }, void 0)) : (content) }, void 0));
122
122
  };
123
123
  exports.Sequence = Sequence;
124
124
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/sequencing/index.tsx"],"names":[],"mappings":";;;;AAAA,iCAMe;AACf,8DAAyD;AACzD,sEAA8D;AAC9D,oCAAkC;AAClC,wEAA2D;AAC3D,4CAAqD;AACrD,wEAAgE;AAUnD,QAAA,eAAe,GAAG,IAAA,qBAAa,EAA6B,IAAI,CAAC,CAAC;AAYxE,MAAM,QAAQ,GAA4B,CAAC,EACjD,IAAI,EACJ,gBAAgB,GAAG,QAAQ,EAC3B,QAAQ,EACR,IAAI,EACJ,MAAM,GAAG,eAAe,EACxB,cAAc,GAAG,IAAI,EACrB,uBAAuB,GACvB,EAAE,EAAE;IACJ,MAAM,CAAC,EAAE,CAAC,GAAG,IAAA,gBAAQ,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IACnD,MAAM,cAAc,GAAG,IAAA,kBAAU,EAAC,uBAAe,CAAC,CAAC;IACnD,MAAM,EAAC,MAAM,EAAC,GAAG,IAAA,kBAAU,EAAC,yCAAe,CAAC,CAAC;IAC7C,MAAM,aAAa,GAAG,cAAc;QACnC,CAAC,CAAC,cAAc,CAAC,aAAa,GAAG,cAAc,CAAC,YAAY;QAC5D,CAAC,CAAC,CAAC,CAAC;IACL,MAAM,UAAU,GAAG,aAAa,GAAG,IAAI,CAAC;IACxC,MAAM,KAAK,GAAG,IAAA,gBAAQ,GAAE,CAAC;IAEzB,IAAI,MAAM,KAAK,eAAe,IAAI,MAAM,KAAK,MAAM,EAAE;QACpD,MAAM,IAAI,SAAS,CAClB,6FAA6F,MAAM,EAAE,CACrG,CAAC;KACF;IAED,IAAI,OAAO,gBAAgB,KAAK,QAAQ,EAAE;QACzC,MAAM,IAAI,SAAS,CAClB,sDAAsD,OAAO,gBAAgB,4BAA4B,CACzG,CAAC;KACF;IAED,IAAI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{
45
45
  }
46
46
  const currentStartFrame = startFrame + offset;
47
47
  startFrame += durationInFramesProp + offset;
48
- return ((0, jsx_runtime_1.jsx)(sequencing_1.Sequence, Object.assign({ from: currentStartFrame, durationInFrames: durationInFramesProp }, passedProps, { children: child }), void 0));
48
+ return ((0, jsx_runtime_1.jsx)(sequencing_1.Sequence, { from: currentStartFrame, durationInFrames: durationInFramesProp, ...passedProps, children: child }, void 0));
49
49
  });
50
50
  }, [children]);
51
51
  /* eslint-disable react/jsx-no-useless-fragment */
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/series/index.tsx"],"names":[],"mappings":";;;;AAAA,iCAAsE;AACtE,8CAAsD;AACtD,2FAAmF;AACnF,yDAAmD;AASnD,MAAM,cAAc,GAAG,CAAC,EAAC,QAAQ,EAAsB,EAAE,EAAE;IAC1D,yDAAyD;IACzD,OAAO,2DAAG,QAAQ,WAAI,CAAC;AACxB,CAAC,CAAC;AAEF,MAAM,MAAM,GAER,CAAC,EAAC,QAAQ,EAAC,EAAE,EAAE;IAClB,MAAM,aAAa,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE;QAClC,IAAI,UAAU,GAAG,CAAC,CAAC;QACnB,OAAO,gBAAQ,CAAC,GAAG,CAAC,IAAA,kCAAe,EAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE;;YAC3D,MAAM,WAAW,GAAI,KAKZ,CAAC;YACV,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE;gBACpC,uDAAuD;gBACvD,IAAI,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;oBAC9B,OAAO,IAAI,CAAC;iBACZ;gBAED,MAAM,IAAI,SAAS,CAClB,6HAA6H,WAAW,GAAG,CAC3I,CAAC;aACF;YAED,IAAI,WAAW,CAAC,IAAI,KAAK,cAAc,EAAE;gBACxC,MAAM,IAAI,SAAS,CAClB,4GAA4G,WAAW,UAAU,CACjI,CAAC;aACF;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,uEAAuE,CACpH,CAAC;aACF;YAED,MAAM,oBAAoB,GAAG,WAAW,CAAC,KAAK,CAAC,gBAAgB,CAAC;YAChE,MAAM,EACL,gBAAgB,EAChB,QAAQ,EAAE,SAAS,EACnB,GAAG,WAAW,EACd,GAAG,WAAW,CAAC,KAAK,CAAC;YACtB,IAAA,sDAAwB,EACvB,oBAAoB,EACpB,oCAAoC,CACpC,CAAC;YACF,MAAM,MAAM,GAAG,MAAA,WAAW,CAAC,KAAK,CAAC,MAAM,mCAAI,CAAC,CAAC;YAC7C,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;gBACzB,MAAM,IAAI,SAAS,CAClB,gFAAgF,SAAS,IAAI,CAC7F,CAAC;aACF;YAED,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE;gBAC7B,MAAM,IAAI,SAAS,CAClB,0EAA0E,MAAM,KAAK,SAAS,IAAI,CAClG,CAAC;aACF;YAED,IAAI,MAAM,GAAG,CAAC,KAAK,CAAC,EAAE;gBACrB,MAAM,IAAI,SAAS,CAClB,0EAA0E,MAAM,KAAK,SAAS,IAAI,CAClG,CAAC;aACF;YAED,MAAM,iBAAiB,GAAG,UAAU,GAAG,MAAM,CAAC;YAC9C,UAAU,IAAI,oBAAoB,GAAG,MAAM,CAAC;YAC5C,OAAO,CACN,uBAAC,qBAAQ,IACR,IAAI,EAAE,iBAAiB,EACvB,gBAAgB,EAAE,oBAAoB,KAClC,WAAW,YAEd,KAAK,WACI,CACX,CAAC;QACH,CAAC,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,kDAAkD;IAClD,OAAO,2DAAG,aAAa,WAAI,CAAC;AAC7B,CAAC,CAAC;AAIM,wBAAM;AAFd,MAAM,CAAC,QAAQ,GAAG,cAAc,CAAC"}
@@ -1,4 +1,17 @@
1
1
  import { SpringConfig } from './spring-utils';
2
+ /**
3
+ * Calculates a position based on physical parameters, start and end value, and time.
4
+ * @link https://www.remotion.dev/docs/spring
5
+ * @param {number} frame The current time value. Most of the time you want to pass in the return value of useCurrentFrame.
6
+ * @param {number} fps The framerate at which the animation runs. Pass in the value obtained by `useVideoConfig()`.
7
+ * @param {?Object} config optional object that allows you to customize the physical properties of the animation.
8
+ * @param {number} [config.mass=1] The weight of the spring. If you reduce the mass, the animation becomes faster!
9
+ * @param {number} [config.damping=10] How hard the animation decelerates.
10
+ * @param {number} [config.stiffness=100] Affects bounciness of the animation.
11
+ * @param {boolean} [config.overshootClamping=false] Whether to prevent the animation going beyond the target value.
12
+ * @param {?number} from The initial value of the animation. Default `0`
13
+ * @param {?number} to The end value of the animation. Default `1`
14
+ */
2
15
  export declare function spring({ frame, fps, config, from, to, }: {
3
16
  frame: number;
4
17
  fps: number;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/spring/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAE/D,wBAAgB,MAAM,CAAC,EACtB,KAAK,EACL,GAAG,EACH,MAAW,EACX,IAAQ,EACR,EAAM,GACN,EAAE;IACF,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;CACZ,GAAG,MAAM,CAiBT;AAED,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/spring/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAE/D;;;;;;;;;;;;GAYG;AACH,wBAAgB,MAAM,CAAC,EACtB,KAAK,EACL,GAAG,EACH,MAAW,EACX,IAAQ,EACR,EAAM,GACN,EAAE;IACF,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;CACZ,GAAG,MAAM,CAiBT;AAED,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC"}
@@ -2,6 +2,19 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.measureSpring = exports.spring = void 0;
4
4
  const spring_utils_1 = require("./spring-utils");
5
+ /**
6
+ * Calculates a position based on physical parameters, start and end value, and time.
7
+ * @link https://www.remotion.dev/docs/spring
8
+ * @param {number} frame The current time value. Most of the time you want to pass in the return value of useCurrentFrame.
9
+ * @param {number} fps The framerate at which the animation runs. Pass in the value obtained by `useVideoConfig()`.
10
+ * @param {?Object} config optional object that allows you to customize the physical properties of the animation.
11
+ * @param {number} [config.mass=1] The weight of the spring. If you reduce the mass, the animation becomes faster!
12
+ * @param {number} [config.damping=10] How hard the animation decelerates.
13
+ * @param {number} [config.stiffness=100] Affects bounciness of the animation.
14
+ * @param {boolean} [config.overshootClamping=false] Whether to prevent the animation going beyond the target value.
15
+ * @param {?number} from The initial value of the animation. Default `0`
16
+ * @param {?number} to The end value of the animation. Default `1`
17
+ */
5
18
  function spring({ frame, fps, config = {}, from = 0, to = 1, }) {
6
19
  const spr = (0, spring_utils_1.springCalculation)({
7
20
  fps,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/spring/index.ts"],"names":[],"mappings":";;;AAAA,iDAA+D;AAE/D,SAAgB,MAAM,CAAC,EACtB,KAAK,EACL,GAAG,EACH,MAAM,GAAG,EAAE,EACX,IAAI,GAAG,CAAC,EACR,EAAE,GAAG,CAAC,GAON;IACA,MAAM,GAAG,GAAG,IAAA,gCAAiB,EAAC;QAC7B,GAAG;QACH,KAAK;QACL,MAAM;QACN,IAAI;QACJ,EAAE;KACF,CAAC,CAAC;IACH,IAAI,CAAC,MAAM,CAAC,iBAAiB,EAAE;QAC9B,OAAO,GAAG,CAAC,OAAO,CAAC;KACnB;IAED,IAAI,EAAE,IAAI,IAAI,EAAE;QACf,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;KACjC;IAED,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;AAClC,CAAC;AA7BD,wBA6BC;AAED,mDAA+C;AAAvC,+GAAA,aAAa,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/spring/index.ts"],"names":[],"mappings":";;;AAAA,iDAA+D;AAE/D;;;;;;;;;;;;GAYG;AACH,SAAgB,MAAM,CAAC,EACtB,KAAK,EACL,GAAG,EACH,MAAM,GAAG,EAAE,EACX,IAAI,GAAG,CAAC,EACR,EAAE,GAAG,CAAC,GAON;IACA,MAAM,GAAG,GAAG,IAAA,gCAAiB,EAAC;QAC7B,GAAG;QACH,KAAK;QACL,MAAM;QACN,IAAI;QACJ,EAAE;KACF,CAAC,CAAC;IACH,IAAI,CAAC,MAAM,CAAC,iBAAiB,EAAE;QAC9B,OAAO,GAAG,CAAC,OAAO,CAAC;KACnB;IAED,IAAI,EAAE,IAAI,IAAI,EAAE;QACf,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;KACjC;IAED,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;AAClC,CAAC;AA7BD,wBA6BC;AAED,mDAA+C;AAAvC,+GAAA,aAAa,OAAA"}
@@ -1,3 +1,8 @@
1
1
  export declare const useAbsoluteCurrentFrame: () => number;
2
+ /**
3
+ * Get the current frame of the video.
4
+ * Frames are 0-indexed, meaning the first frame is 0, the last frame is the duration of the composition in frames minus one.
5
+ * @link https://www.remotion.dev/docs/use-current-frame
6
+ */
2
7
  export declare const useCurrentFrame: () => number;
3
8
  //# sourceMappingURL=use-frame.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-frame.d.ts","sourceRoot":"","sources":["../src/use-frame.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,uBAAuB,QAAO,MAI1C,CAAC;AAEF,eAAO,MAAM,eAAe,QAAO,MASlC,CAAC"}
1
+ {"version":3,"file":"use-frame.d.ts","sourceRoot":"","sources":["../src/use-frame.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,uBAAuB,QAAO,MAI1C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,eAAe,QAAO,MASlC,CAAC"}
package/dist/use-frame.js CHANGED
@@ -9,6 +9,11 @@ const useAbsoluteCurrentFrame = () => {
9
9
  return timelinePosition;
10
10
  };
11
11
  exports.useAbsoluteCurrentFrame = useAbsoluteCurrentFrame;
12
+ /**
13
+ * Get the current frame of the video.
14
+ * Frames are 0-indexed, meaning the first frame is 0, the last frame is the duration of the composition in frames minus one.
15
+ * @link https://www.remotion.dev/docs/use-current-frame
16
+ */
12
17
  const useCurrentFrame = () => {
13
18
  const frame = (0, exports.useAbsoluteCurrentFrame)();
14
19
  const context = (0, react_1.useContext)(sequencing_1.SequenceContext);
@@ -1 +1 @@
1
- {"version":3,"file":"use-frame.js","sourceRoot":"","sources":["../src/use-frame.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;AACjC,6CAA6C;AAC7C,uEAA8D;AAEvD,MAAM,uBAAuB,GAAG,GAAW,EAAE;IACnD,MAAM,gBAAgB,GAAG,IAAA,6CAAmB,GAAE,CAAC;IAE/C,OAAO,gBAAgB,CAAC;AACzB,CAAC,CAAC;AAJW,QAAA,uBAAuB,2BAIlC;AAEK,MAAM,eAAe,GAAG,GAAW,EAAE;IAC3C,MAAM,KAAK,GAAG,IAAA,+BAAuB,GAAE,CAAC;IACxC,MAAM,OAAO,GAAG,IAAA,kBAAU,EAAC,4BAAe,CAAC,CAAC;IAE5C,MAAM,aAAa,GAAG,OAAO;QAC5B,CAAC,CAAC,OAAO,CAAC,aAAa,GAAG,OAAO,CAAC,YAAY;QAC9C,CAAC,CAAC,CAAC,CAAC;IAEL,OAAO,KAAK,GAAG,aAAa,CAAC;AAC9B,CAAC,CAAC;AATW,QAAA,eAAe,mBAS1B"}
1
+ {"version":3,"file":"use-frame.js","sourceRoot":"","sources":["../src/use-frame.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;AACjC,6CAA6C;AAC7C,uEAA8D;AAEvD,MAAM,uBAAuB,GAAG,GAAW,EAAE;IACnD,MAAM,gBAAgB,GAAG,IAAA,6CAAmB,GAAE,CAAC;IAE/C,OAAO,gBAAgB,CAAC;AACzB,CAAC,CAAC;AAJW,QAAA,uBAAuB,2BAIlC;AAEF;;;;GAIG;AACI,MAAM,eAAe,GAAG,GAAW,EAAE;IAC3C,MAAM,KAAK,GAAG,IAAA,+BAAuB,GAAE,CAAC;IACxC,MAAM,OAAO,GAAG,IAAA,kBAAU,EAAC,4BAAe,CAAC,CAAC;IAE5C,MAAM,aAAa,GAAG,OAAO;QAC5B,CAAC,CAAC,OAAO,CAAC,aAAa,GAAG,OAAO,CAAC,YAAY;QAC9C,CAAC,CAAC,CAAC,CAAC;IAEL,OAAO,KAAK,GAAG,aAAa,CAAC;AAC9B,CAAC,CAAC;AATW,QAAA,eAAe,mBAS1B"}
@@ -1,3 +1,8 @@
1
1
  import { VideoConfig } from './video-config';
2
+ /**
3
+ * Get some info about the context of the video that you are making.
4
+ * Returns an object containing `fps`, `width`, `height` and `durationInFrames`, all of type `number`.
5
+ * @link https://www.remotion.dev/docs/use-video-config
6
+ */
2
7
  export declare const useVideoConfig: () => VideoConfig;
3
8
  //# sourceMappingURL=use-video-config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-video-config.d.ts","sourceRoot":"","sources":["../src/use-video-config.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAE3C,eAAO,MAAM,cAAc,QAAO,WAUjC,CAAC"}
1
+ {"version":3,"file":"use-video-config.d.ts","sourceRoot":"","sources":["../src/use-video-config.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAE3C;;;;GAIG;AACH,eAAO,MAAM,cAAc,QAAO,WAUjC,CAAC"}
@@ -2,6 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.useVideoConfig = void 0;
4
4
  const use_unsafe_video_config_1 = require("./use-unsafe-video-config");
5
+ /**
6
+ * Get some info about the context of the video that you are making.
7
+ * Returns an object containing `fps`, `width`, `height` and `durationInFrames`, all of type `number`.
8
+ * @link https://www.remotion.dev/docs/use-video-config
9
+ */
5
10
  const useVideoConfig = () => {
6
11
  const videoConfig = (0, use_unsafe_video_config_1.useUnsafeVideoConfig)();
7
12
  if (!videoConfig) {
@@ -1 +1 @@
1
- {"version":3,"file":"use-video-config.js","sourceRoot":"","sources":["../src/use-video-config.ts"],"names":[],"mappings":";;;AAAA,uEAA+D;AAGxD,MAAM,cAAc,GAAG,GAAgB,EAAE;IAC/C,MAAM,WAAW,GAAG,IAAA,8CAAoB,GAAE,CAAC;IAE3C,IAAI,CAAC,WAAW,EAAE;QACjB,MAAM,IAAI,KAAK,CACd,sOAAsO,CACtO,CAAC;KACF;IAED,OAAO,WAAW,CAAC;AACpB,CAAC,CAAC;AAVW,QAAA,cAAc,kBAUzB"}
1
+ {"version":3,"file":"use-video-config.js","sourceRoot":"","sources":["../src/use-video-config.ts"],"names":[],"mappings":";;;AAAA,uEAA+D;AAG/D;;;;GAIG;AACI,MAAM,cAAc,GAAG,GAAgB,EAAE;IAC/C,MAAM,WAAW,GAAG,IAAA,8CAAoB,GAAE,CAAC;IAE3C,IAAI,CAAC,WAAW,EAAE;QACjB,MAAM,IAAI,KAAK,CACd,sOAAsO,CACtO,CAAC;KACF;IAED,OAAO,WAAW,CAAC;AACpB,CAAC,CAAC;AAVW,QAAA,cAAc,kBAUzB"}
@@ -0,0 +1,4 @@
1
+ export declare const validateFolderName: (name: string) => void;
2
+ export declare const isFolderNameValid: (name: string) => RegExpMatchArray | null;
3
+ export declare const invalidFolderNameErrorMessage: string;
4
+ //# sourceMappingURL=validate-folder-name.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validate-folder-name.d.ts","sourceRoot":"","sources":["../../src/validation/validate-folder-name.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,SAAU,MAAM,SAM9C,CAAC;AAIF,eAAO,MAAM,iBAAiB,SAAU,MAAM,4BAA2B,CAAC;AAE1E,eAAO,MAAM,6BAA6B,QAEvC,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.invalidFolderNameErrorMessage = exports.isFolderNameValid = exports.validateFolderName = void 0;
4
+ const validateFolderName = (name) => {
5
+ if (!(0, exports.isFolderNameValid)(name)) {
6
+ throw new Error(`Folder name can only contain a-z, A-Z, 0-9 and -. You passed ${name}`);
7
+ }
8
+ };
9
+ exports.validateFolderName = validateFolderName;
10
+ const getRegex = () => /^([a-zA-Z0-9-])+$/g;
11
+ const isFolderNameValid = (name) => name.match(getRegex());
12
+ exports.isFolderNameValid = isFolderNameValid;
13
+ exports.invalidFolderNameErrorMessage = `Folder name must match ${String(getRegex())}`;
14
+ //# sourceMappingURL=validate-folder-name.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validate-folder-name.js","sourceRoot":"","sources":["../../src/validation/validate-folder-name.ts"],"names":[],"mappings":";;;AAAO,MAAM,kBAAkB,GAAG,CAAC,IAAY,EAAE,EAAE;IAClD,IAAI,CAAC,IAAA,yBAAiB,EAAC,IAAI,CAAC,EAAE;QAC7B,MAAM,IAAI,KAAK,CACd,gEAAgE,IAAI,EAAE,CACtE,CAAC;KACF;AACF,CAAC,CAAC;AANW,QAAA,kBAAkB,sBAM7B;AAEF,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC,oBAAoB,CAAC;AAErC,MAAM,iBAAiB,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;AAA7D,QAAA,iBAAiB,qBAA4C;AAE7D,QAAA,6BAA6B,GAAG,0BAA0B,MAAM,CAC5E,QAAQ,EAAE,CACV,EAAE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { RemotionMainVideoProps } from './props';
3
- export declare const Video: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, "autoPlay" | "controls" | "loop"> & {
3
+ export declare const Video: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, "autoPlay" | "controls" | "loop" | "onEnded"> & {
4
4
  volume?: import("../volume-prop").VolumeProp | undefined;
5
5
  playbackRate?: number | undefined;
6
- } & RemotionMainVideoProps, "src" | "playbackRate" | "children" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "volume" | "height" | "poster" | "width" | "disablePictureInPicture" | "disableRemotePlayback" | keyof RemotionMainVideoProps> & React.RefAttributes<HTMLVideoElement>>;
6
+ } & RemotionMainVideoProps, "children" | "id" | "slot" | "style" | "title" | "width" | "height" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "volume" | "playbackRate" | "poster" | "disablePictureInPicture" | "disableRemotePlayback" | keyof RemotionMainVideoProps> & React.RefAttributes<HTMLVideoElement>>;
7
7
  //# sourceMappingURL=Video.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Video.d.ts","sourceRoot":"","sources":["../../src/video/Video.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,OAAO,EAAC,sBAAsB,EAAqB,MAAM,SAAS,CAAC;AAwCnE,eAAO,MAAM,KAAK;;;yyJAAsC,CAAC"}
1
+ {"version":3,"file":"Video.d.ts","sourceRoot":"","sources":["../../src/video/Video.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,OAAO,EAAC,sBAAsB,EAAqB,MAAM,SAAS,CAAC;AAwCnE,eAAO,MAAM,KAAK;;;6xJAAsC,CAAC"}
@@ -18,13 +18,13 @@ const VideoForwardingFunction = (props, ref) => {
18
18
  (0, validate_start_from_props_1.validateStartFromProps)(startFrom, endAt);
19
19
  const startFromFrameNo = startFrom !== null && startFrom !== void 0 ? startFrom : 0;
20
20
  const endAtFrameNo = endAt !== null && endAt !== void 0 ? endAt : Infinity;
21
- return ((0, jsx_runtime_1.jsx)(sequencing_1.Sequence, Object.assign({ layout: "none", from: 0 - startFromFrameNo, showInTimeline: false, durationInFrames: endAtFrameNo }, { children: (0, jsx_runtime_1.jsx)(exports.Video, Object.assign({}, otherProps, { ref: ref }), void 0) }), void 0));
21
+ return ((0, jsx_runtime_1.jsx)(sequencing_1.Sequence, { layout: "none", from: 0 - startFromFrameNo, showInTimeline: false, durationInFrames: endAtFrameNo, children: (0, jsx_runtime_1.jsx)(exports.Video, { ...otherProps, ref: ref }, void 0) }, void 0));
22
22
  }
23
23
  (0, validate_media_props_1.validateMediaProps)(props, 'Video');
24
24
  if ((0, get_environment_1.getRemotionEnvironment)() === 'rendering') {
25
- return (0, jsx_runtime_1.jsx)(VideoForRendering_1.VideoForRendering, Object.assign({}, otherProps, { ref: ref }), void 0);
25
+ return (0, jsx_runtime_1.jsx)(VideoForRendering_1.VideoForRendering, { ...otherProps, ref: ref }, void 0);
26
26
  }
27
- return (0, jsx_runtime_1.jsx)(VideoForDevelopment_1.VideoForDevelopment, Object.assign({}, otherProps, { ref: ref }), void 0);
27
+ return (0, jsx_runtime_1.jsx)(VideoForDevelopment_1.VideoForDevelopment, { ...otherProps, ref: ref }, void 0);
28
28
  };
29
29
  exports.Video = (0, react_1.forwardRef)(VideoForwardingFunction);
30
30
  //# sourceMappingURL=Video.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Video.js","sourceRoot":"","sources":["../../src/video/Video.tsx"],"names":[],"mappings":";;;;AAAA,iCAAwC;AACxC,wDAA0D;AAC1D,8CAAuC;AACvC,kEAA2D;AAC3D,4EAAoE;AAEpE,+DAA0D;AAC1D,2DAAsD;AAEtD,MAAM,uBAAuB,GAGzB,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IAClB,MAAM,EAAC,SAA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,KAAK,EAAE,GAAG,EAAE,EAAE;IAClB,MAAM,EAAC,SAAS,EAAE,KAAK,EAAE,GAAG,UAAU,EAAC,GAAG,KAAK,CAAC;IAEhD,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;QAC5B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;KACjD;IAED,IAAI,OAAO,SAAS,KAAK,WAAW,IAAI,OAAO,KAAK,KAAK,WAAW,EAAE;QACrE,IAAA,kDAAsB,EAAC,SAAS,EAAE,KAAK,CAAC,CAAC;QAEzC,MAAM,gBAAgB,GAAG,SAAS,aAAT,SAAS,cAAT,SAAS,GAAI,CAAC,CAAC;QACxC,MAAM,YAAY,GAAG,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,QAAQ,CAAC;QACvC,OAAO,CACN,uBAAC,qBAAQ,IACR,MAAM,EAAC,MAAM,EACb,IAAI,EAAE,CAAC,GAAG,gBAAgB,EAC1B,cAAc,EAAE,KAAK,EACrB,gBAAgB,EAAE,YAAY,YAE9B,uBAAC,aAAK,OAAK,UAAU,EAAE,GAAG,EAAE,GAAG,WAAI,WACzB,CACX,CAAC;KACF;IAED,IAAA,yCAAkB,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAEnC,IAAI,IAAA,wCAAsB,GAAE,KAAK,WAAW,EAAE;QAC7C,OAAO,uBAAC,qCAAiB,OAAK,UAAU,EAAE,GAAG,EAAE,GAAG,WAAI,CAAC;KACvD;IAED,OAAO,uBAAC,yCAAmB,OAAK,UAAU,EAAE,GAAG,EAAE,GAAG,WAAI,CAAC;AAC1D,CAAC,CAAC;AAEW,QAAA,KAAK,GAAG,IAAA,kBAAU,EAAC,uBAAuB,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { RemotionVideoProps } from './props';
3
- export declare const VideoForDevelopment: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "src" | "playbackRate" | "children" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "volume" | "height" | "poster" | "width" | "disablePictureInPicture" | "disableRemotePlayback"> & React.RefAttributes<HTMLVideoElement>>;
3
+ export declare const VideoForDevelopment: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "id" | "height" | "width" | "children" | "src" | "volume" | "playbackRate" | "slot" | "style" | "title" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "poster" | "disablePictureInPicture" | "disableRemotePlayback"> & React.RefAttributes<HTMLVideoElement>>;
4
4
  //# sourceMappingURL=VideoForDevelopment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VideoForDevelopment.d.ts","sourceRoot":"","sources":["../../src/video/VideoForDevelopment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAUrE,OAAO,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC;AAsD3C,eAAO,MAAM,mBAAmB,yyJAE/B,CAAC"}
1
+ {"version":3,"file":"VideoForDevelopment.d.ts","sourceRoot":"","sources":["../../src/video/VideoForDevelopment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAUrE,OAAO,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC;AAsD3C,eAAO,MAAM,mBAAmB,6xJAE/B,CAAC"}
@@ -40,7 +40,7 @@ const VideoForDevelopmentRefForwardingFunction = (props, ref) => {
40
40
  (0, react_1.useImperativeHandle)(ref, () => {
41
41
  return videoRef.current;
42
42
  });
43
- return ((0, jsx_runtime_1.jsx)("video", Object.assign({ ref: videoRef, muted: muted || mediaMuted, playsInline: true }, nativeProps), void 0));
43
+ return ((0, jsx_runtime_1.jsx)("video", { ref: videoRef, muted: muted || mediaMuted, playsInline: true, ...nativeProps }, void 0));
44
44
  };
45
45
  exports.VideoForDevelopment = (0, react_1.forwardRef)(VideoForDevelopmentRefForwardingFunction);
46
46
  //# sourceMappingURL=VideoForDevelopment.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VideoForDevelopment.js","sourceRoot":"","sources":["../../src/video/VideoForDevelopment.tsx"],"names":[],"mappings":";;;;AAAA,iCAAqE;AACrE,8DAA+D;AAC/D,oEAA4D;AAC5D,8DAAuD;AACvD,kEAA0D;AAC1D,sFAA4E;AAC5E,oEAGkC;AAGlC,MAAM,wCAAwC,GAG1C,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;;IAClB,MAAM,QAAQ,GAAG,IAAA,cAAM,EAAmB,IAAI,CAAC,CAAC;IAEhD,MAAM,eAAe,GAAG,IAAA,uCAAqB,GAAE,CAAC;IAEhD,MAAM,EAAC,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,GAAG,WAAW,EAAC,GAAG,KAAK,CAAC;IAE5D,MAAM,YAA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React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "id" | "height" | "width" | "children" | "src" | "volume" | "playbackRate" | "slot" | "style" | "title" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "poster" | "disablePictureInPicture" | "disableRemotePlayback"> & React.RefAttributes<HTMLVideoElement>>;
3
+ export declare const VideoForRendering: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "children" | "id" | "slot" | "style" | "title" | "width" | "height" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "volume" | "playbackRate" | "poster" | "disablePictureInPicture" | "disableRemotePlayback"> & React.RefAttributes<HTMLVideoElement>>;
4
4
  //# sourceMappingURL=VideoForRendering.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VideoForRendering.d.ts","sourceRoot":"","sources":["../../src/video/VideoForRendering.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAC;AAgBf,OAAO,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC;AAkK3C,eAAO,MAAM,iBAAiB,yyJAA+C,CAAC"}
1
+ {"version":3,"file":"VideoForRendering.d.ts","sourceRoot":"","sources":["../../src/video/VideoForRendering.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAC;AAgBf,OAAO,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC;AAkK3C,eAAO,MAAM,iBAAiB,6xJAA+C,CAAC"}
@@ -133,7 +133,7 @@ const VideoForRenderingForwardFunction = ({ onError, volume: volumeProp, playbac
133
133
  frame,
134
134
  mediaStartsAt,
135
135
  ]);
136
- return (0, jsx_runtime_1.jsx)("video", Object.assign({ ref: videoRef }, props, { onError: onError }), void 0);
136
+ return (0, jsx_runtime_1.jsx)("video", { ref: videoRef, ...props, onError: onError }, void 0);
137
137
  };
138
138
  exports.VideoForRendering = (0, react_1.forwardRef)(VideoForRenderingForwardFunction);
139
139
  //# sourceMappingURL=VideoForRendering.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VideoForRendering.js","sourceRoot":"","sources":["../../src/video/VideoForRendering.tsx"],"names":[],"mappings":";;;;AAAA,iCAOe;AACf,kDAA+C;AAC/C,8DAGkC;AAClC,8DAAyD;AACzD,4EAAoE;AACpE,wDAAiD;AACjD,sCAAiC;AACjC,oDAA6D;AAC7D,8CAA8C;AAC9C,4CAAsE;AACtE,wEAAgE;AAChE,gDAA8C;AAC9C,yDAAgD;AAGhD,MAAM,gCAAgC,GAGlC,CAAC,EAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,KAAK,EAAC,EAAE,GAAG,EAAE,EAAE;IAClE,MAAM,aAAa,GAAG,IAAA,mCAAuB,GAAE,CAAC;IAEhD,MAAM,KAAK,GAAG,IAAA,2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K,CAAC,GAAG;QACT,YAAY;QACZ,WAAW,CAAC,GAAG;QACf,KAAK;QACL,aAAa;KACb,CAAC,CAAC;IAEH,OAAO,kCAAO,GAAG,EAAE,QAAQ,KAAM,KAAK,EAAE,OAAO,EAAE,OAAO,WAAI,CAAC;AAC9D,CAAC,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAA,kBAAU,EAAC,gCAAgC,CAAC,CAAC"}
@@ -4,7 +4,7 @@ export declare type RemotionMainVideoProps = {
4
4
  startFrom?: number;
5
5
  endAt?: number;
6
6
  };
7
- export declare type RemotionVideoProps = Omit<React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, 'autoPlay' | 'controls' | 'loop'> & {
7
+ export declare type RemotionVideoProps = Omit<React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, 'autoPlay' | 'controls' | 'loop' | 'onEnded'> & {
8
8
  volume?: VolumeProp;
9
9
  playbackRate?: number;
10
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/video/props.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAE1C,oBAAY,sBAAsB,GAAG;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,oBAAY,kBAAkB,GAAG,IAAI,CACpC,KAAK,CAAC,iBAAiB,CACtB,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAC3C,gBAAgB,CAChB,EACD,UAAU,GAAG,UAAU,GAAG,MAAM,CAChC,GAAG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/video/props.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAE1C,oBAAY,sBAAsB,GAAG;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,oBAAY,kBAAkB,GAAG,IAAI,CACpC,KAAK,CAAC,iBAAiB,CACtB,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAC3C,gBAAgB,CAChB,EACD,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,SAAS,CAC5C,GAAG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -52,7 +52,7 @@ function useRemotionContexts() {
52
52
  exports.useRemotionContexts = useRemotionContexts;
53
53
  const RemotionContextProvider = (props) => {
54
54
  const { children, contexts } = props;
55
- return ((0, jsx_runtime_1.jsx)(nonce_1.NonceContext.Provider, Object.assign({ value: contexts.nonceContext }, { children: (0, jsx_runtime_1.jsx)(CompositionManager_1.CompositionManager.Provider, Object.assign({ value: contexts.compositionManagerCtx }, { children: (0, jsx_runtime_1.jsx)(timeline_position_state_1.TimelineContext.Provider, Object.assign({ value: contexts.timelineContext }, { children: (0, jsx_runtime_1.jsx)(timeline_position_state_1.SetTimelineContext.Provider, Object.assign({ value: contexts.setTimelineContext }, { children: (0, jsx_runtime_1.jsx)(sequencing_1.SequenceContext.Provider, Object.assign({ value: contexts.sequenceContext }, { children: children }), void 0) }), void 0) }), void 0) }), void 0) }), void 0));
55
+ return ((0, jsx_runtime_1.jsx)(nonce_1.NonceContext.Provider, { value: contexts.nonceContext, children: (0, jsx_runtime_1.jsx)(CompositionManager_1.CompositionManager.Provider, { value: contexts.compositionManagerCtx, children: (0, jsx_runtime_1.jsx)(timeline_position_state_1.TimelineContext.Provider, { value: contexts.timelineContext, children: (0, jsx_runtime_1.jsx)(timeline_position_state_1.SetTimelineContext.Provider, { value: contexts.setTimelineContext, children: (0, jsx_runtime_1.jsx)(sequencing_1.SequenceContext.Provider, { value: contexts.sequenceContext, children: children }, void 0) }, void 0) }, void 0) }, void 0) }, void 0));
56
56
  };
57
57
  exports.RemotionContextProvider = RemotionContextProvider;
58
58
  //# sourceMappingURL=wrap-remotion-context.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"wrap-remotion-context.js","sourceRoot":"","sources":["../src/wrap-remotion-context.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,yDAAyD;AACzD,yEAAyE;AACzE,yBAAyB;AAEzB,+CAAqC;AACrC,6DAAwD;AACxD,mCAAqC;AACrC,6CAA6C;AAC7C,uEAA8E;AAE9E,SAAgB,mBAAmB;IAClC,MAAM,qBAAqB,GAAG,eAAK,CAAC,UAAU,CAAC,uCAAkB,CAAC,CAAC;IACnE,MAAM,eAAe,GAAG,eAAK,CAAC,UAAU,CAAC,yCAAe,CAAC,CAAC;IAC1D,MAAM,kBAAkB,GAAG,eAAK,CAAC,UAAU,CAAC,4CAAkB,CAAC,CAAC;IAChE,MAAM,eAAe,GAAG,eAAK,CAAC,UAAU,CAAC,4BAAe,CAAC,CAAC;IAC1D,MAAM,YAAY,GAAG,eAAK,CAAC,UAAU,CAAC,oBAAY,CAAC,CAAC;IACpD,OAAO,IAAA,eAAO,EACb,GAAG,EAAE,CAAC,CAAC;QACN,qBAAqB;QACrB,eAAe;QACf,kBAAkB;QAClB,eAAe;QACf,YAAY;KACZ,CAAC,EACF;QACC,qBAAqB;QACrB,YAAY;QACZ,eAAe;QACf,kBAAkB;QAClB,eAAe;KACf,CACD,CAAC;AACH,CAAC;AAtBD,kDAsBC;AAOM,MAAM,uBAAuB,GAAG,CACtC,KAAmC,EAClC,EAAE;IACH,MAAM,EAAC,QAAQ,EAAE,QAAQ,EAAC,GAAG,KAAK,CAAC;IACnC,OAAO,CACN,uBAAC,oBAAY,CAAC,QAAQ,kBAAC,KAAK,EAAE,QAAQ,CAAC,YAAY,gBAClD,uBAAC,uCAAkB,CAAC,QAAQ,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,KAAmC,EAClC,EAAE;IACH,MAAM,EAAC,QAAQ,EAAE,QAAQ,EAAC,GAAG,KAAK,CAAC;IACnC,OAAO,CACN,uBAAC,oBAAY,CAAC,QAAQ,IAAC,KAAK,EAAE,QAAQ,CAAC,YAAY,YAClD,uBAAC,uCAAkB,CAAC,QAAQ,IAAC,KAAK,EAAE,QAAQ,CAAC,qBAAqB,YACjE,uBAAC,yCAAe,CAAC,QAAQ,IAAC,KAAK,EAAE,QAAQ,CAAC,eAAe,YACxD,uBAAC,4CAAkB,CAAC,QAAQ,IAAC,KAAK,EAAE,QAAQ,CAAC,kBAAkB,YAC9D,uBAAC,4BAAe,CAAC,QAAQ,IAAC,KAAK,EAAE,QAAQ,CAAC,eAAe,YACvD,QAAQ,WACiB,WACE,WACJ,WACE,WACP,CACxB,CAAC;AACH,CAAC,CAAC;AAjBW,QAAA,uBAAuB,2BAiBlC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remotion",
3
- "version": "2.6.9",
3
+ "version": "2.6.12",
4
4
  "description": "Render videos in React",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -15,6 +15,9 @@
15
15
  "repository": {
16
16
  "url": "https://github.com/remotion-dev/remotion"
17
17
  },
18
+ "bugs": {
19
+ "url": "https://github.com/remotion-dev/remotion/issues"
20
+ },
18
21
  "author": "",
19
22
  "license": "SEE LICENSE IN LICENSE.md",
20
23
  "peerDependencies": {
@@ -38,11 +41,19 @@
38
41
  "react-dom": "^17.0.1",
39
42
  "rimraf": "^3.0.2",
40
43
  "ts-jest": "^27.0.5",
41
- "typescript": "^4.4.2",
44
+ "typescript": "^4.5.5",
42
45
  "webpack": "5.60.0"
43
46
  },
47
+ "keywords": [
48
+ "remotion",
49
+ "ffmpeg",
50
+ "video",
51
+ "react",
52
+ "puppeteer",
53
+ "player"
54
+ ],
44
55
  "publishConfig": {
45
56
  "access": "public"
46
57
  },
47
- "gitHead": "cb95ddea3cce407b3c3df81ee3cff83bed591d14"
58
+ "gitHead": "6d76097a98c44dc976cecfa04526d663339cf45c"
48
59
  }