remotion 2.5.3 → 2.5.6

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 (54) hide show
  1. package/coverage/coverage-summary.json +12 -11
  2. package/dist/Composition.d.ts +1 -1
  3. package/dist/Composition.d.ts.map +1 -1
  4. package/dist/Composition.js +4 -3
  5. package/dist/Composition.js.map +1 -1
  6. package/dist/CompositionManager.d.ts +2 -2
  7. package/dist/CompositionManager.d.ts.map +1 -1
  8. package/dist/asset-types.d.ts +52 -13
  9. package/dist/asset-types.d.ts.map +1 -1
  10. package/dist/audio/Audio.d.ts +1 -1
  11. package/dist/audio/AudioForDevelopment.d.ts +1 -1
  12. package/dist/audio/AudioForDevelopment.d.ts.map +1 -1
  13. package/dist/audio/AudioForDevelopment.js.map +1 -1
  14. package/dist/audio/AudioForRendering.d.ts +1 -1
  15. package/dist/audio/AudioForRendering.js +1 -1
  16. package/dist/audio/AudioForRendering.js.map +1 -1
  17. package/dist/audio/audio-buffer-to-wav.d.ts +15 -0
  18. package/dist/audio/audio-buffer-to-wav.d.ts.map +1 -0
  19. package/dist/audio/audio-buffer-to-wav.js +91 -0
  20. package/dist/audio/audio-buffer-to-wav.js.map +1 -0
  21. package/dist/audio/audio-url-helpers.d.ts +2 -0
  22. package/dist/audio/audio-url-helpers.d.ts.map +1 -0
  23. package/dist/audio/audio-url-helpers.js +17 -0
  24. package/dist/audio/audio-url-helpers.js.map +1 -0
  25. package/dist/config/image-format.d.ts +1 -1
  26. package/dist/config/index.d.ts +3 -3
  27. package/dist/config/log.d.ts +1 -1
  28. package/dist/get-asset-file-name.d.ts +1 -1
  29. package/dist/get-asset-file-name.d.ts.map +1 -1
  30. package/dist/get-asset-file-name.js +6 -3
  31. package/dist/get-asset-file-name.js.map +1 -1
  32. package/dist/index.d.ts +2 -0
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/index.js +3 -1
  35. package/dist/index.js.map +1 -1
  36. package/dist/internals.d.ts +6 -6
  37. package/dist/is-remote-asset.d.ts +1 -1
  38. package/dist/is-remote-asset.d.ts.map +1 -1
  39. package/dist/is-remote-asset.js +3 -1
  40. package/dist/is-remote-asset.js.map +1 -1
  41. package/dist/register-root.js +1 -0
  42. package/dist/register-root.js.map +1 -1
  43. package/dist/static-file.d.ts +2 -0
  44. package/dist/static-file.d.ts.map +1 -0
  45. package/dist/static-file.js +24 -0
  46. package/dist/static-file.js.map +1 -0
  47. package/dist/use-media-in-timeline.js +1 -1
  48. package/dist/use-media-in-timeline.js.map +1 -1
  49. package/dist/video/Video.d.ts +1 -1
  50. package/dist/video/VideoForDevelopment.d.ts +1 -1
  51. package/dist/video/VideoForRendering.d.ts +1 -1
  52. package/dist/video/VideoForRendering.js +1 -1
  53. package/dist/video/VideoForRendering.js.map +1 -1
  54. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- {"total": {"lines":{"total":1832,"covered":1386,"skipped":0,"pct":75.65},"statements":{"total":2006,"covered":1541,"skipped":0,"pct":76.81},"functions":{"total":360,"covered":218,"skipped":0,"pct":60.55},"branches":{"total":1054,"covered":748,"skipped":0,"pct":70.96}}
1
+ {"total": {"lines":{"total":1860,"covered":1404,"skipped":0,"pct":75.48},"statements":{"total":2037,"covered":1562,"skipped":0,"pct":76.68},"functions":{"total":366,"covered":219,"skipped":0,"pct":59.83},"branches":{"total":1063,"covered":753,"skipped":0,"pct":70.83}}
2
2
  ,"/Users/jonathanburger/remotion/packages/core/src/AbsoluteFill.tsx": {"lines":{"total":6,"covered":2,"skipped":0,"pct":33.33},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":7,"covered":3,"skipped":0,"pct":42.85},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
3
3
  ,"/Users/jonathanburger/remotion/packages/core/src/Composition.tsx": {"lines":{"total":28,"covered":27,"skipped":0,"pct":96.42},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":29,"covered":28,"skipped":0,"pct":96.55},"branches":{"total":4,"covered":3,"skipped":0,"pct":75}}
4
4
  ,"/Users/jonathanburger/remotion/packages/core/src/CompositionManager.tsx": {"lines":{"total":41,"covered":30,"skipped":0,"pct":73.17},"functions":{"total":28,"covered":13,"skipped":0,"pct":46.42},"statements":{"total":48,"covered":32,"skipped":0,"pct":66.66},"branches":{"total":4,"covered":3,"skipped":0,"pct":75}}
@@ -17,12 +17,11 @@
17
17
  ,"/Users/jonathanburger/remotion/packages/core/src/get-timeline-clip-name.ts": {"lines":{"total":13,"covered":10,"skipped":0,"pct":76.92},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":14,"covered":11,"skipped":0,"pct":78.57},"branches":{"total":18,"covered":16,"skipped":0,"pct":88.88}}
18
18
  ,"/Users/jonathanburger/remotion/packages/core/src/index.ts": {"lines":{"total":27,"covered":27,"skipped":0,"pct":100},"functions":{"total":6,"covered":2,"skipped":0,"pct":33.33},"statements":{"total":33,"covered":33,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
19
19
  ,"/Users/jonathanburger/remotion/packages/core/src/initial-frame.ts": {"lines":{"total":6,"covered":3,"skipped":0,"pct":50},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":7,"covered":4,"skipped":0,"pct":57.14},"branches":{"total":2,"covered":0,"skipped":0,"pct":0}}
20
- ,"/Users/jonathanburger/remotion/packages/core/src/internals.ts": {"lines":{"total":49,"covered":49,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":49,"covered":49,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
21
- ,"/Users/jonathanburger/remotion/packages/core/src/interpolate.ts": {"lines":{"total":55,"covered":55,"skipped":0,"pct":100},"functions":{"total":6,"covered":6,"skipped":0,"pct":100},"statements":{"total":57,"covered":57,"skipped":0,"pct":100},"branches":{"total":59,"covered":57,"skipped":0,"pct":96.61}}
20
+ ,"/Users/jonathanburger/remotion/packages/core/src/internals.ts": {"lines":{"total":51,"covered":51,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":51,"covered":51,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
21
+ ,"/Users/jonathanburger/remotion/packages/core/src/interpolate.ts": {"lines":{"total":59,"covered":59,"skipped":0,"pct":100},"functions":{"total":6,"covered":6,"skipped":0,"pct":100},"statements":{"total":61,"covered":61,"skipped":0,"pct":100},"branches":{"total":60,"covered":58,"skipped":0,"pct":96.66}}
22
22
  ,"/Users/jonathanburger/remotion/packages/core/src/interpolateColors.ts": {"lines":{"total":115,"covered":105,"skipped":0,"pct":91.3},"functions":{"total":21,"covered":21,"skipped":0,"pct":100},"statements":{"total":117,"covered":107,"skipped":0,"pct":91.45},"branches":{"total":70,"covered":51,"skipped":0,"pct":72.85}}
23
23
  ,"/Users/jonathanburger/remotion/packages/core/src/is-approximately-the-same.ts": {"lines":{"total":3,"covered":3,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":4,"covered":4,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
24
24
  ,"/Users/jonathanburger/remotion/packages/core/src/is-audio-codec.ts": {"lines":{"total":2,"covered":2,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":3,"covered":3,"skipped":0,"pct":100},"branches":{"total":3,"covered":3,"skipped":0,"pct":100}}
25
- ,"/Users/jonathanburger/remotion/packages/core/src/is-remote-asset.ts": {"lines":{"total":2,"covered":2,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":3,"covered":3,"skipped":0,"pct":100},"branches":{"total":2,"covered":1,"skipped":0,"pct":50}}
26
25
  ,"/Users/jonathanburger/remotion/packages/core/src/multiple-versions-warning.ts": {"lines":{"total":6,"covered":4,"skipped":0,"pct":66.66},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":7,"covered":5,"skipped":0,"pct":71.42},"branches":{"total":4,"covered":2,"skipped":0,"pct":50}}
27
26
  ,"/Users/jonathanburger/remotion/packages/core/src/nonce.ts": {"lines":{"total":9,"covered":9,"skipped":0,"pct":100},"functions":{"total":4,"covered":4,"skipped":0,"pct":100},"statements":{"total":11,"covered":11,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
28
27
  ,"/Users/jonathanburger/remotion/packages/core/src/random.ts": {"lines":{"total":22,"covered":20,"skipped":0,"pct":90.9},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":23,"covered":21,"skipped":0,"pct":91.3},"branches":{"total":8,"covered":6,"skipped":0,"pct":75}}
@@ -34,7 +33,7 @@
34
33
  ,"/Users/jonathanburger/remotion/packages/core/src/truthy.ts": {"lines":{"total":2,"covered":2,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":2,"covered":2,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
35
34
  ,"/Users/jonathanburger/remotion/packages/core/src/use-frame.ts": {"lines":{"total":11,"covered":11,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":13,"covered":13,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}}
36
35
  ,"/Users/jonathanburger/remotion/packages/core/src/use-lazy-component.ts": {"lines":{"total":12,"covered":6,"skipped":0,"pct":50},"functions":{"total":3,"covered":2,"skipped":0,"pct":66.66},"statements":{"total":13,"covered":7,"skipped":0,"pct":53.84},"branches":{"total":6,"covered":1,"skipped":0,"pct":16.66}}
37
- ,"/Users/jonathanburger/remotion/packages/core/src/use-media-in-timeline.ts": {"lines":{"total":33,"covered":29,"skipped":0,"pct":87.87},"functions":{"total":7,"covered":6,"skipped":0,"pct":85.71},"statements":{"total":36,"covered":32,"skipped":0,"pct":88.88},"branches":{"total":18,"covered":10,"skipped":0,"pct":55.55}}
36
+ ,"/Users/jonathanburger/remotion/packages/core/src/use-media-in-timeline.ts": {"lines":{"total":44,"covered":35,"skipped":0,"pct":79.54},"functions":{"total":10,"covered":8,"skipped":0,"pct":80},"statements":{"total":47,"covered":38,"skipped":0,"pct":80.85},"branches":{"total":24,"covered":13,"skipped":0,"pct":54.16}}
38
37
  ,"/Users/jonathanburger/remotion/packages/core/src/use-media-playback.ts": {"lines":{"total":53,"covered":9,"skipped":0,"pct":16.98},"functions":{"total":5,"covered":0,"skipped":0,"pct":0},"statements":{"total":54,"covered":10,"skipped":0,"pct":18.51},"branches":{"total":51,"covered":0,"skipped":0,"pct":0}}
39
38
  ,"/Users/jonathanburger/remotion/packages/core/src/use-media-tag-volume.ts": {"lines":{"total":18,"covered":15,"skipped":0,"pct":83.33},"functions":{"total":5,"covered":4,"skipped":0,"pct":80},"statements":{"total":20,"covered":17,"skipped":0,"pct":85},"branches":{"total":6,"covered":4,"skipped":0,"pct":66.66}}
40
39
  ,"/Users/jonathanburger/remotion/packages/core/src/use-sync-volume-with-media-tag.ts": {"lines":{"total":8,"covered":8,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":9,"covered":9,"skipped":0,"pct":100},"branches":{"total":4,"covered":4,"skipped":0,"pct":100}}
@@ -49,25 +48,27 @@
49
48
  ,"/Users/jonathanburger/remotion/packages/core/src/wrap-remotion-context.tsx": {"lines":{"total":16,"covered":7,"skipped":0,"pct":43.75},"functions":{"total":3,"covered":0,"skipped":0,"pct":0},"statements":{"total":17,"covered":8,"skipped":0,"pct":47.05},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
50
49
  ,"/Users/jonathanburger/remotion/packages/core/src/audio/Audio.tsx": {"lines":{"total":23,"covered":21,"skipped":0,"pct":91.3},"functions":{"total":2,"covered":1,"skipped":0,"pct":50},"statements":{"total":23,"covered":21,"skipped":0,"pct":91.3},"branches":{"total":16,"covered":13,"skipped":0,"pct":81.25}}
51
50
  ,"/Users/jonathanburger/remotion/packages/core/src/audio/AudioForDevelopment.tsx": {"lines":{"total":29,"covered":10,"skipped":0,"pct":34.48},"functions":{"total":3,"covered":0,"skipped":0,"pct":0},"statements":{"total":29,"covered":10,"skipped":0,"pct":34.48},"branches":{"total":10,"covered":0,"skipped":0,"pct":0}}
52
- ,"/Users/jonathanburger/remotion/packages/core/src/audio/AudioForRendering.tsx": {"lines":{"total":31,"covered":29,"skipped":0,"pct":93.54},"functions":{"total":5,"covered":4,"skipped":0,"pct":80},"statements":{"total":32,"covered":30,"skipped":0,"pct":93.75},"branches":{"total":24,"covered":22,"skipped":0,"pct":91.66}}
51
+ ,"/Users/jonathanburger/remotion/packages/core/src/audio/AudioForRendering.tsx": {"lines":{"total":30,"covered":28,"skipped":0,"pct":93.33},"functions":{"total":5,"covered":4,"skipped":0,"pct":80},"statements":{"total":31,"covered":29,"skipped":0,"pct":93.54},"branches":{"total":24,"covered":22,"skipped":0,"pct":91.66}}
53
52
  ,"/Users/jonathanburger/remotion/packages/core/src/audio/index.tsx": {"lines":{"total":2,"covered":2,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":2,"covered":2,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
54
53
  ,"/Users/jonathanburger/remotion/packages/core/src/audio/shared-audio-tags.tsx": {"lines":{"total":66,"covered":19,"skipped":0,"pct":28.78},"functions":{"total":24,"covered":3,"skipped":0,"pct":12.5},"statements":{"total":72,"covered":20,"skipped":0,"pct":27.77},"branches":{"total":28,"covered":1,"skipped":0,"pct":3.57}}
55
54
  ,"/Users/jonathanburger/remotion/packages/core/src/audio/use-audio-frame.ts": {"lines":{"total":11,"covered":11,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":13,"covered":13,"skipped":0,"pct":100},"branches":{"total":8,"covered":8,"skipped":0,"pct":100}}
56
55
  ,"/Users/jonathanburger/remotion/packages/core/src/config/browser-executable.ts": {"lines":{"total":5,"covered":3,"skipped":0,"pct":60},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":7,"covered":5,"skipped":0,"pct":71.42},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
57
56
  ,"/Users/jonathanburger/remotion/packages/core/src/config/browser.ts": {"lines":{"total":10,"covered":4,"skipped":0,"pct":40},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":12,"covered":6,"skipped":0,"pct":50},"branches":{"total":4,"covered":0,"skipped":0,"pct":0}}
58
- ,"/Users/jonathanburger/remotion/packages/core/src/config/codec.ts": {"lines":{"total":58,"covered":35,"skipped":0,"pct":60.34},"functions":{"total":4,"covered":3,"skipped":0,"pct":75},"statements":{"total":62,"covered":39,"skipped":0,"pct":62.9},"branches":{"total":64,"covered":44,"skipped":0,"pct":68.75}}
57
+ ,"/Users/jonathanburger/remotion/packages/core/src/config/codec.ts": {"lines":{"total":59,"covered":36,"skipped":0,"pct":61.01},"functions":{"total":4,"covered":3,"skipped":0,"pct":75},"statements":{"total":63,"covered":40,"skipped":0,"pct":63.49},"branches":{"total":66,"covered":45,"skipped":0,"pct":68.18}}
59
58
  ,"/Users/jonathanburger/remotion/packages/core/src/config/concurrency.ts": {"lines":{"total":7,"covered":7,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":9,"covered":9,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}}
60
- ,"/Users/jonathanburger/remotion/packages/core/src/config/crf.ts": {"lines":{"total":45,"covered":42,"skipped":0,"pct":93.33},"functions":{"total":6,"covered":6,"skipped":0,"pct":100},"statements":{"total":51,"covered":48,"skipped":0,"pct":94.11},"branches":{"total":45,"covered":42,"skipped":0,"pct":93.33}}
59
+ ,"/Users/jonathanburger/remotion/packages/core/src/config/crf.ts": {"lines":{"total":47,"covered":43,"skipped":0,"pct":91.48},"functions":{"total":6,"covered":6,"skipped":0,"pct":100},"statements":{"total":53,"covered":49,"skipped":0,"pct":92.45},"branches":{"total":47,"covered":43,"skipped":0,"pct":91.48}}
61
60
  ,"/Users/jonathanburger/remotion/packages/core/src/config/env-file.ts": {"lines":{"total":4,"covered":3,"skipped":0,"pct":75},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":7,"covered":5,"skipped":0,"pct":71.42},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
61
+ ,"/Users/jonathanburger/remotion/packages/core/src/config/ffmpeg-executable.ts": {"lines":{"total":5,"covered":3,"skipped":0,"pct":60},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":7,"covered":5,"skipped":0,"pct":71.42},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
62
62
  ,"/Users/jonathanburger/remotion/packages/core/src/config/frame-range.ts": {"lines":{"total":48,"covered":48,"skipped":0,"pct":100},"functions":{"total":5,"covered":5,"skipped":0,"pct":100},"statements":{"total":54,"covered":54,"skipped":0,"pct":100},"branches":{"total":38,"covered":37,"skipped":0,"pct":97.36}}
63
+ ,"/Users/jonathanburger/remotion/packages/core/src/config/frames-per-lambda.ts": {"lines":{"total":4,"covered":2,"skipped":0,"pct":50},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":6,"covered":4,"skipped":0,"pct":66.66},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
63
64
  ,"/Users/jonathanburger/remotion/packages/core/src/config/image-format.ts": {"lines":{"total":20,"covered":20,"skipped":0,"pct":100},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":23,"covered":23,"skipped":0,"pct":100},"branches":{"total":14,"covered":14,"skipped":0,"pct":100}}
64
65
  ,"/Users/jonathanburger/remotion/packages/core/src/config/image-sequence.ts": {"lines":{"total":7,"covered":7,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":9,"covered":9,"skipped":0,"pct":100},"branches":{"total":4,"covered":4,"skipped":0,"pct":100}}
65
- ,"/Users/jonathanburger/remotion/packages/core/src/config/index.ts": {"lines":{"total":18,"covered":18,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":18,"covered":18,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
66
+ ,"/Users/jonathanburger/remotion/packages/core/src/config/index.ts": {"lines":{"total":20,"covered":20,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":20,"covered":20,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
66
67
  ,"/Users/jonathanburger/remotion/packages/core/src/config/input-props.ts": {"lines":{"total":23,"covered":14,"skipped":0,"pct":60.86},"functions":{"total":2,"covered":1,"skipped":0,"pct":50},"statements":{"total":24,"covered":15,"skipped":0,"pct":62.5},"branches":{"total":10,"covered":6,"skipped":0,"pct":60}}
67
68
  ,"/Users/jonathanburger/remotion/packages/core/src/config/log.ts": {"lines":{"total":12,"covered":12,"skipped":0,"pct":100},"functions":{"total":5,"covered":5,"skipped":0,"pct":100},"statements":{"total":16,"covered":16,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
68
69
  ,"/Users/jonathanburger/remotion/packages/core/src/config/max-timeline-tracks.ts": {"lines":{"total":13,"covered":3,"skipped":0,"pct":23.07},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":15,"covered":5,"skipped":0,"pct":33.33},"branches":{"total":8,"covered":0,"skipped":0,"pct":0}}
69
70
  ,"/Users/jonathanburger/remotion/packages/core/src/config/override-webpack.ts": {"lines":{"total":6,"covered":4,"skipped":0,"pct":66.66},"functions":{"total":3,"covered":0,"skipped":0,"pct":0},"statements":{"total":10,"covered":7,"skipped":0,"pct":70},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
70
- ,"/Users/jonathanburger/remotion/packages/core/src/config/overwrite.ts": {"lines":{"total":6,"covered":6,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":9,"covered":9,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}}
71
+ ,"/Users/jonathanburger/remotion/packages/core/src/config/overwrite.ts": {"lines":{"total":7,"covered":7,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":10,"covered":10,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}}
71
72
  ,"/Users/jonathanburger/remotion/packages/core/src/config/pixel-format.ts": {"lines":{"total":16,"covered":16,"skipped":0,"pct":100},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":19,"covered":19,"skipped":0,"pct":100},"branches":{"total":10,"covered":10,"skipped":0,"pct":100}}
72
73
  ,"/Users/jonathanburger/remotion/packages/core/src/config/preview-server.ts": {"lines":{"total":10,"covered":8,"skipped":0,"pct":80},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":13,"covered":11,"skipped":0,"pct":84.61},"branches":{"total":8,"covered":7,"skipped":0,"pct":87.5}}
73
74
  ,"/Users/jonathanburger/remotion/packages/core/src/config/prores-profile.ts": {"lines":{"total":11,"covered":11,"skipped":0,"pct":100},"functions":{"total":4,"covered":4,"skipped":0,"pct":100},"statements":{"total":14,"covered":14,"skipped":0,"pct":100},"branches":{"total":8,"covered":8,"skipped":0,"pct":100}}
@@ -92,7 +93,7 @@
92
93
  ,"/Users/jonathanburger/remotion/packages/core/src/validation/validate-quality.ts": {"lines":{"total":11,"covered":9,"skipped":0,"pct":81.81},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":12,"covered":10,"skipped":0,"pct":83.33},"branches":{"total":14,"covered":12,"skipped":0,"pct":85.71}}
93
94
  ,"/Users/jonathanburger/remotion/packages/core/src/video/Video.tsx": {"lines":{"total":21,"covered":19,"skipped":0,"pct":90.47},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":21,"covered":19,"skipped":0,"pct":90.47},"branches":{"total":16,"covered":14,"skipped":0,"pct":87.5}}
94
95
  ,"/Users/jonathanburger/remotion/packages/core/src/video/VideoForDevelopment.tsx": {"lines":{"total":21,"covered":9,"skipped":0,"pct":42.85},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":21,"covered":9,"skipped":0,"pct":42.85},"branches":{"total":6,"covered":0,"skipped":0,"pct":0}}
95
- ,"/Users/jonathanburger/remotion/packages/core/src/video/VideoForRendering.tsx": {"lines":{"total":65,"covered":43,"skipped":0,"pct":66.15},"functions":{"total":12,"covered":6,"skipped":0,"pct":50},"statements":{"total":66,"covered":44,"skipped":0,"pct":66.66},"branches":{"total":50,"covered":39,"skipped":0,"pct":78}}
96
+ ,"/Users/jonathanburger/remotion/packages/core/src/video/VideoForRendering.tsx": {"lines":{"total":64,"covered":42,"skipped":0,"pct":65.62},"functions":{"total":12,"covered":6,"skipped":0,"pct":50},"statements":{"total":65,"covered":43,"skipped":0,"pct":66.15},"branches":{"total":50,"covered":39,"skipped":0,"pct":78}}
96
97
  ,"/Users/jonathanburger/remotion/packages/core/src/video/get-current-time.ts": {"lines":{"total":10,"covered":10,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":11,"covered":11,"skipped":0,"pct":100},"branches":{"total":4,"covered":4,"skipped":0,"pct":100}}
97
98
  ,"/Users/jonathanburger/remotion/packages/core/src/video/index.ts": {"lines":{"total":2,"covered":2,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":2,"covered":2,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
98
99
  }
@@ -16,6 +16,6 @@ declare type CompositionProps<T> = StillProps<T> & {
16
16
  fps: number;
17
17
  durationInFrames: number;
18
18
  };
19
- export declare const Composition: <T>({ width, height, fps, durationInFrames, id, defaultProps: props, ...compProps }: CompositionProps<T>) => null;
19
+ export declare const Composition: <T>({ width, height, fps, durationInFrames, id, defaultProps, ...compProps }: CompositionProps<T>) => null;
20
20
  export {};
21
21
  //# sourceMappingURL=Composition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Composition.d.ts","sourceRoot":"","sources":["../src/Composition.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAc7C,oBAAY,SAAS,CAAC,CAAC,IACpB;IACA,aAAa,EAAE,MAAM,OAAO,CAAC;QAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,CAAC;CACxD,GACD;IACA,SAAS,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;CAC1B,CAAC;AAEL,oBAAY,UAAU,CAAC,CAAC,IAAI;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,CAAC,EAAE,CAAC,CAAC;CACjB,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AAEjB,aAAK,gBAAgB,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,GAAG;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,WAAW,mHAuEvB,CAAC"}
1
+ {"version":3,"file":"Composition.d.ts","sourceRoot":"","sources":["../src/Composition.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAc7C,oBAAY,SAAS,CAAC,CAAC,IACpB;IACA,aAAa,EAAE,MAAM,OAAO,CAAC;QAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,CAAC;CACxD,GACD;IACA,SAAS,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;CAC1B,CAAC;AAEL,oBAAY,UAAU,CAAC,CAAC,IAAI;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,CAAC,EAAE,CAAC,CAAC;CACjB,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AAEjB,aAAK,gBAAgB,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,GAAG;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,WAAW,4GAuEvB,CAAC"}
@@ -10,7 +10,7 @@ const validate_composition_id_1 = require("./validation/validate-composition-id"
10
10
  const validate_dimensions_1 = require("./validation/validate-dimensions");
11
11
  const validate_duration_in_frames_1 = require("./validation/validate-duration-in-frames");
12
12
  const validate_fps_1 = require("./validation/validate-fps");
13
- const Composition = ({ width, height, fps, durationInFrames, id, defaultProps: props, ...compProps }) => {
13
+ const Composition = ({ width, height, fps, durationInFrames, id, defaultProps, ...compProps }) => {
14
14
  const { registerComposition, unregisterComposition } = (0, react_1.useContext)(CompositionManager_1.CompositionManager);
15
15
  const lazy = (0, use_lazy_component_1.useLazyComponent)(compProps);
16
16
  const nonce = (0, nonce_1.useNonce)();
@@ -31,7 +31,7 @@ const Composition = ({ width, height, fps, durationInFrames, id, defaultProps: p
31
31
  width,
32
32
  id,
33
33
  component: lazy,
34
- props,
34
+ defaultProps,
35
35
  nonce,
36
36
  });
37
37
  if ((0, register_root_1.getIsEvaluation)()) {
@@ -43,6 +43,7 @@ const Composition = ({ width, height, fps, durationInFrames, id, defaultProps: p
43
43
  id,
44
44
  width,
45
45
  nonce,
46
+ defaultProps,
46
47
  });
47
48
  }
48
49
  return () => {
@@ -55,7 +56,7 @@ const Composition = ({ width, height, fps, durationInFrames, id, defaultProps: p
55
56
  height,
56
57
  lazy,
57
58
  id,
58
- props,
59
+ defaultProps,
59
60
  registerComposition,
60
61
  unregisterComposition,
61
62
  width,
@@ -1 +1 @@
1
- {"version":3,"file":"Composition.js","sourceRoot":"","sources":["../src/Composition.tsx"],"names":[],"mappings":";;;AAAA,iCAA4C;AAE5C,6DAAwD;AACxD,mCAAiC;AACjC,mDAIyB;AACzB,6DAAsD;AACtD,kFAA2E;AAC3E,0EAAmE;AACnE,0FAAkF;AAClF,4DAAsD;AAsB/C,MAAM,WAAW,GAAG,CAAK,EAC/B,KAAK,EACL,MAAM,EACN,GAAG,EACH,gBAAgB,EAChB,EAAE,EACF,YAAY,EAAE,KAAK,EACnB,GAAG,SAAS,EACS,EAAE,EAAE;IACzB,MAAM,EAAC,mBAAmB,EAAE,qBAAqB,EAAC,GAAG,IAAA,kBAAU,EAC9D,uCAAkB,CAClB,CAAC;IAEF,MAAM,IAAI,GAAG,IAAA,qCAAgB,EAAC,SAAS,CAAC,CAAC;IACzC,MAAM,KAAK,GAAG,IAAA,gBAAQ,GAAE,CAAC;IAEzB,IAAA,iBAAS,EAAC,GAAG,EAAE;QACd,4BAA4B;QAC5B,IAAI,CAAC,EAAE,EAAE;YACR,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;SACjD;QAED,IAAA,+CAAqB,EAAC,EAAE,CAAC,CAAC;QAC1B,IAAA,uCAAiB,EAAC,KAAK,EAAE,OAAO,EAAE,iCAAiC,CAAC,CAAC;QACrE,IAAA,uCAAiB,EAAC,MAAM,EAAE,QAAQ,EAAE,iCAAiC,CAAC,CAAC;QACvE,IAAA,sDAAwB,EACvB,gBAAgB,EAChB,iCAAiC,CACjC,CAAC;QACF,IAAA,0BAAW,EAAC,GAAG,EAAE,2CAA2C,CAAC,CAAC;QAC9D,mBAAmB,CAAI;YACtB,gBAAgB;YAChB,GAAG;YACH,MAAM;YACN,KAAK;YACL,EAAE;YACF,SAAS,EAAE,IAAI;YACf,KAAK;YACL,KAAK;SACL,CAAC,CAAC;QAEH,IAAI,IAAA,+BAAe,GAAE,EAAE;YACtB,IAAA,oCAAoB,EAAC;gBACpB,SAAS,EAAE,IAAI;gBACf,gBAAgB;gBAChB,GAAG;gBACH,MAAM;gBACN,EAAE;gBACF,KAAK;gBACL,KAAK;aACL,CAAC,CAAC;SACH;QAED,OAAO,GAAG,EAAE;YACX,qBAAqB,CAAC,EAAE,CAAC,CAAC;YAC1B,IAAA,uCAAuB,EAAC,EAAE,CAAC,CAAC;QAC7B,CAAC,CAAC;IACH,CAAC,EAAE;QACF,gBAAgB;QAChB,GAAG;QACH,MAAM;QACN,IAAI;QACJ,EAAE;QACF,KAAK;QACL,mBAAmB;QACnB,qBAAqB;QACrB,KAAK;QACL,KAAK;KACL,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACb,CAAC,CAAC;AAvEW,QAAA,WAAW,eAuEtB"}
1
+ {"version":3,"file":"Composition.js","sourceRoot":"","sources":["../src/Composition.tsx"],"names":[],"mappings":";;;AAAA,iCAA4C;AAE5C,6DAAwD;AACxD,mCAAiC;AACjC,mDAIyB;AACzB,6DAAsD;AACtD,kFAA2E;AAC3E,0EAAmE;AACnE,0FAAkF;AAClF,4DAAsD;AAsB/C,MAAM,WAAW,GAAG,CAAK,EAC/B,KAAK,EACL,MAAM,EACN,GAAG,EACH,gBAAgB,EAChB,EAAE,EACF,YAAY,EACZ,GAAG,SAAS,EACS,EAAE,EAAE;IACzB,MAAM,EAAC,mBAAmB,EAAE,qBAAqB,EAAC,GACjD,IAAA,kBAAU,EAAC,uCAAkB,CAAC,CAAC;IAEhC,MAAM,IAAI,GAAG,IAAA,qCAAgB,EAAC,SAAS,CAAC,CAAC;IACzC,MAAM,KAAK,GAAG,IAAA,gBAAQ,GAAE,CAAC;IAEzB,IAAA,iBAAS,EAAC,GAAG,EAAE;QACd,4BAA4B;QAC5B,IAAI,CAAC,EAAE,EAAE;YACR,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;SACjD;QAED,IAAA,+CAAqB,EAAC,EAAE,CAAC,CAAC;QAC1B,IAAA,uCAAiB,EAAC,KAAK,EAAE,OAAO,EAAE,iCAAiC,CAAC,CAAC;QACrE,IAAA,uCAAiB,EAAC,MAAM,EAAE,QAAQ,EAAE,iCAAiC,CAAC,CAAC;QACvE,IAAA,sDAAwB,EACvB,gBAAgB,EAChB,iCAAiC,CACjC,CAAC;QACF,IAAA,0BAAW,EAAC,GAAG,EAAE,2CAA2C,CAAC,CAAC;QAC9D,mBAAmB,CAAI;YACtB,gBAAgB;YAChB,GAAG;YACH,MAAM;YACN,KAAK;YACL,EAAE;YACF,SAAS,EAAE,IAAI;YACf,YAAY;YACZ,KAAK;SACL,CAAC,CAAC;QAEH,IAAI,IAAA,+BAAe,GAAE,EAAE;YACtB,IAAA,oCAAoB,EAAC;gBACpB,SAAS,EAAE,IAAI;gBACf,gBAAgB;gBAChB,GAAG;gBACH,MAAM;gBACN,EAAE;gBACF,KAAK;gBACL,KAAK;gBACL,YAAY;aACZ,CAAC,CAAC;SACH;QAED,OAAO,GAAG,EAAE;YACX,qBAAqB,CAAC,EAAE,CAAC,CAAC;YAC1B,IAAA,uCAAuB,EAAC,EAAE,CAAC,CAAC;QAC7B,CAAC,CAAC;IACH,CAAC,EAAE;QACF,gBAAgB;QAChB,GAAG;QACH,MAAM;QACN,IAAI;QACJ,EAAE;QACF,YAAY;QACZ,mBAAmB;QACnB,qBAAqB;QACrB,KAAK;QACL,KAAK;KACL,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACb,CAAC,CAAC;AAvEW,QAAA,WAAW,eAuEtB"}
@@ -7,10 +7,10 @@ export declare type TComposition<T = unknown> = {
7
7
  durationInFrames: number;
8
8
  id: string;
9
9
  component: LazyExoticComponent<LooseAnyComponent<T>>;
10
- props?: T;
10
+ defaultProps: T | undefined;
11
11
  nonce: number;
12
12
  };
13
- export declare type TCompMetadata = Pick<TComposition, 'id' | 'height' | 'width' | 'fps' | 'durationInFrames'>;
13
+ export declare type TCompMetadata = Pick<TComposition, 'id' | 'height' | 'width' | 'fps' | 'durationInFrames' | 'defaultProps'>;
14
14
  declare type EnhancedTSequenceData = {
15
15
  type: 'sequence';
16
16
  } | {
@@ -1 +1 @@
1
- {"version":3,"file":"CompositionManager.d.ts","sourceRoot":"","sources":["../src/CompositionManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAEb,mBAAmB,EAKnB,MAAM,OAAO,CAAC;AACf,OAAO,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAElD,oBAAY,YAAY,CAAC,CAAC,GAAG,OAAO,IAAI;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,mBAAmB,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;IACrD,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,oBAAY,aAAa,GAAG,IAAI,CAC/B,YAAY,EACZ,IAAI,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,GAAG,kBAAkB,CACtD,CAAC;AAEF,aAAK,qBAAqB,GACvB;IACA,IAAI,EAAE,UAAU,CAAC;CAChB,GACD;IACA,IAAI,EAAE,OAAO,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IAKZ,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;CACtB,GACD;IACA,IAAI,EAAE,OAAO,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;CACtB,CAAC;AAEL,oBAAY,SAAS,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CA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EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,SAAS,EAAE,SAAS,EAAE,CAAC;IACvB,MAAM,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,kBAAkB,0CAY7B,CAAC;AAEH,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,EA2F9C,CAAC"}
@@ -1,15 +1,54 @@
1
- declare module '*.webm';
2
- declare module '*.png';
3
- declare module '*.mp4';
4
- declare module '*.mp3';
5
- declare module '*.wav';
6
- declare module '*.aac';
7
- declare module '*.svg';
8
- declare module '*.jpg';
9
- declare module '*.jpeg';
10
- declare module '*.bmp';
11
- declare module '*.gif';
12
- declare module '*.woff';
13
- declare module '*.woff2';
1
+ declare module '*.webm' {
2
+ const src: string;
3
+ export default src;
4
+ }
5
+ declare module '*.png' {
6
+ const src: string;
7
+ export default src;
8
+ }
9
+ declare module '*.mp4' {
10
+ const src: string;
11
+ export default src;
12
+ }
13
+ declare module '*.mp3' {
14
+ const src: string;
15
+ export default src;
16
+ }
17
+ declare module '*.wav' {
18
+ const src: string;
19
+ export default src;
20
+ }
21
+ declare module '*.aac' {
22
+ const src: string;
23
+ export default src;
24
+ }
25
+ declare module '*.svg' {
26
+ const src: string;
27
+ export default src;
28
+ }
29
+ declare module '*.jpg' {
30
+ const src: string;
31
+ export default src;
32
+ }
33
+ declare module '*.jpeg' {
34
+ const src: string;
35
+ export default src;
36
+ }
37
+ declare module '*.bmp' {
38
+ const src: string;
39
+ export default src;
40
+ }
41
+ declare module '*.gif' {
42
+ const src: string;
43
+ export default src;
44
+ }
45
+ declare module '*.woff' {
46
+ const src: string;
47
+ export default src;
48
+ }
49
+ declare module '*.woff2' {
50
+ const src: string;
51
+ export default src;
52
+ }
14
53
  declare module '*.css';
15
54
  //# sourceMappingURL=asset-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"asset-types.d.ts","sourceRoot":"","sources":["../src/asset-types.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,QAAQ,CAAC;AACxB,OAAO,QAAQ,OAAO,CAAC;AACvB,OAAO,QAAQ,OAAO,CAAC;AACvB,OAAO,QAAQ,OAAO,CAAC;AACvB,OAAO,QAAQ,OAAO,CAAC;AACvB,OAAO,QAAQ,OAAO,CAAC;AACvB,OAAO,QAAQ,OAAO,CAAC;AACvB,OAAO,QAAQ,OAAO,CAAC;AACvB,OAAO,QAAQ,QAAQ,CAAC;AACxB,OAAO,QAAQ,OAAO,CAAC;AACvB,OAAO,QAAQ,OAAO,CAAC;AACvB,OAAO,QAAQ,QAAQ,CAAC;AACxB,OAAO,QAAQ,SAAS,CAAC;AACzB,OAAO,QAAQ,OAAO,CAAC"}
1
+ {"version":3,"file":"asset-types.d.ts","sourceRoot":"","sources":["../src/asset-types.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,QAAQ,CAAC;IACvB,MAAM,GAAG,EAAE,MAAM,CAAC;IAClB,eAAe,GAAG,CAAC;CACnB;AAED,OAAO,QAAQ,OAAO,CAAC;IACtB,MAAM,GAAG,EAAE,MAAM,CAAC;IAClB,eAAe,GAAG,CAAC;CACnB;AAED,OAAO,QAAQ,OAAO,CAAC;IACtB,MAAM,GAAG,EAAE,MAAM,CAAC;IAClB,eAAe,GAAG,CAAC;CACnB;AAED,OAAO,QAAQ,OAAO,CAAC;IACtB,MAAM,GAAG,EAAE,MAAM,CAAC;IAClB,eAAe,GAAG,CAAC;CACnB;AAED,OAAO,QAAQ,OAAO,CAAC;IACtB,MAAM,GAAG,EAAE,MAAM,CAAC;IAClB,eAAe,GAAG,CAAC;CACnB;AAED,OAAO,QAAQ,OAAO,CAAC;IACtB,MAAM,GAAG,EAAE,MAAM,CAAC;IAClB,eAAe,GAAG,CAAC;CACnB;AAED,OAAO,QAAQ,OAAO,CAAC;IACtB,MAAM,GAAG,EAAE,MAAM,CAAC;IAClB,eAAe,GAAG,CAAC;CACnB;AAED,OAAO,QAAQ,OAAO,CAAC;IACtB,MAAM,GAAG,EAAE,MAAM,CAAC;IAClB,eAAe,GAAG,CAAC;CACnB;AAED,OAAO,QAAQ,QAAQ,CAAC;IACvB,MAAM,GAAG,EAAE,MAAM,CAAC;IAClB,eAAe,GAAG,CAAC;CACnB;AAED,OAAO,QAAQ,OAAO,CAAC;IACtB,MAAM,GAAG,EAAE,MAAM,CAAC;IAClB,eAAe,GAAG,CAAC;CACnB;AAED,OAAO,QAAQ,OAAO,CAAC;IACtB,MAAM,GAAG,EAAE,MAAM,CAAC;IAClB,eAAe,GAAG,CAAC;CACnB;AAED,OAAO,QAAQ,QAAQ,CAAC;IACvB,MAAM,GAAG,EAAE,MAAM,CAAC;IAClB,eAAe,GAAG,CAAC;CACnB;AAED,OAAO,QAAQ,SAAS,CAAC;IACxB,MAAM,GAAG,EAAE,MAAM,CAAC;IAClB,eAAe,GAAG,CAAC;CACnB;AAED,OAAO,QAAQ,OAAO,CAAC"}
@@ -3,5 +3,5 @@ import { RemotionMainAudioProps } from './props';
3
3
  export declare const Audio: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "autoPlay" | "controls" | "loop"> & {
4
4
  volume?: import("../volume-prop").VolumeProp | undefined;
5
5
  playbackRate?: number | undefined;
6
- } & RemotionMainAudioProps, "id" | "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" | keyof RemotionMainAudioProps> & React.RefAttributes<HTMLAudioElement>>;
6
+ } & RemotionMainAudioProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "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" | "children" | "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" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | keyof RemotionMainAudioProps> & React.RefAttributes<HTMLAudioElement>>;
7
7
  //# sourceMappingURL=Audio.d.ts.map
@@ -4,5 +4,5 @@ export declare const AudioForDevelopment: React.ForwardRefExoticComponent<Pick<O
4
4
  playbackRate?: number | undefined;
5
5
  } & {
6
6
  shouldPreMountAudioTags: boolean;
7
- }, "id" | "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" | "shouldPreMountAudioTags"> & React.RefAttributes<HTMLAudioElement>>;
7
+ }, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "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" | "children" | "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" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | "shouldPreMountAudioTags"> & React.RefAttributes<HTMLAudioElement>>;
8
8
  //# sourceMappingURL=AudioForDevelopment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AudioForDevelopment.d.ts","sourceRoot":"","sources":["../../src/audio/AudioForDevelopment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAsFhF,eAAO,MAAM,mBAAmB;;;;6BAtEL,OAAO;urJAwEjC,CAAC"}
1
+ {"version":3,"file":"AudioForDevelopment.d.ts","sourceRoot":"","sources":["../../src/audio/AudioForDevelopment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAiFhF,eAAO,MAAM,mBAAmB;;;;6BAjEL,OAAO;urJAmEjC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AudioForDevelopment.js","sourceRoot":"","sources":["../../src/audio/AudioForDevelopment.tsx"],"names":[],"mappings":";;;;AAA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from 'react';
2
2
  import { RemotionAudioProps } from './props';
3
- export declare const AudioForRendering: React.ForwardRefExoticComponent<Pick<RemotionAudioProps, "id" | "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"> & React.RefAttributes<HTMLAudioElement>>;
3
+ export declare const AudioForRendering: React.ForwardRefExoticComponent<Pick<RemotionAudioProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "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" | "children" | "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" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key"> & React.RefAttributes<HTMLAudioElement>>;
4
4
  //# sourceMappingURL=AudioForRendering.d.ts.map
@@ -47,7 +47,7 @@ const AudioForRenderingRefForwardingFunction = (props, ref) => {
47
47
  id,
48
48
  frame: absoluteFrame,
49
49
  volume,
50
- isRemote: (0, is_remote_asset_1.isRemoteAsset)((0, absolute_src_1.getAbsoluteSrc)(props.src)),
50
+ isRemote: (0, is_remote_asset_1.isRemoteAsset)((0, absolute_src_1.getAbsoluteSrc)(props.src), true),
51
51
  mediaFrame: frame,
52
52
  playbackRate: (_a = props.playbackRate) !== null && _a !== void 0 ? _a : 1,
53
53
  });
@@ -1 +1 @@
1
- {"version":3,"file":"AudioForRendering.js","sourceRoot":"","sources":["../../src/audio/AudioForRendering.tsx"],"names":[],"mappings":";;;;AAAA,iCAOe;AACf,kDAA+C;AAC/C,8DAAyD;AACzD,wDAAiD;AACjD,sCAAiC;AACjC,8CAA8C;AAC9C,4CAAsE;AACtE,gDAA8C;AAE9C,uDAAwD;AAExD,MAAM,sCAAsC,GAGxC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IAClB,MAAM,QAAQ,GAAG,IAAA,cAAM,EAAmB,IAAI,CAAC,CAAC;IAEhD,MAAM,aAAa,GAAG,IAAA,mCAAuB,GAAE,CAAC;IAChD,MAAM,eAAe,GAAG,IAAA,uCAAqB,GAAE,CAAC;IAChD,MAAM,KAAK,GAAG,IAAA,2BAAe,GAAE,CAAC;IAChC,MAAM,eAAe,GAAG,IAAA,kBAAU,EAAC,4BAAe,CAAC,CAAC;IACpD,MAAM,EAAC,aAAa,EAAE,eAAe,EAAC,GAAG,IAAA,kBAAU,EAAC,uCAAkB,CAAC,CAAC;IAExE,gEAAgE;IAChE,+CAA+C;IAC/C,MAAM,EAAE,GAAG,IAAA,eAAO,EACjB,GAAG,EAAE;;QACJ,OAAA,SAAS,IAAA,eAAM,EAAC,MAAA,KAAK,CAAC,GAAG,mCAAI,EAAE,CAAC,IAAI,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,YAAY,IAChE,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,aAClB,IAAI,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,gBAAgB,UAAU,KAAK,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BAAU,EAC1C,sCAAsC,CACtC,CAAC"}
@@ -0,0 +1,15 @@
1
+ declare function audioBufferToWav(buffer: AudioBuffer, opt: {
2
+ float32: boolean;
3
+ }): ArrayBuffer;
4
+ declare function encodeWAV({ samples, format, sampleRate, numChannels, bitDepth, }: {
5
+ samples: Float32Array;
6
+ format: 3 | 1;
7
+ sampleRate: number;
8
+ numChannels: number;
9
+ bitDepth: 32 | 16;
10
+ }): ArrayBuffer;
11
+ declare function interleave(inputL: Float32Array, inputR: Float32Array): Float32Array;
12
+ declare function writeFloat32(output: DataView, offset: number, input: Float32Array): void;
13
+ declare function floatTo16BitPCM(output: DataView, offset: number, input: Float32Array): void;
14
+ declare function writeString(view: DataView, offset: number, string: string): void;
15
+ //# sourceMappingURL=audio-buffer-to-wav.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"audio-buffer-to-wav.d.ts","sourceRoot":"","sources":["../../src/audio/audio-buffer-to-wav.ts"],"names":[],"mappings":"AAEA,iBAAS,gBAAgB,CACxB,MAAM,EAAE,WAAW,EACnB,GAAG,EAAE;IACJ,OAAO,EAAE,OAAO,CAAC;CACjB,eAqBD;AAED,iBAAS,SAAS,CAAC,EAClB,OAAO,EACP,MAAM,EACN,UAAU,EACV,WAAW,EACX,QAAQ,GACR,EAAE;IACF,OAAO,EAAE,YAAY,CAAC;IACtB,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,EAAE,GAAG,EAAE,CAAC;CAClB,eAyCA;AAED,iBAAS,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY,gBAc7D;AAED,iBAAS,YAAY,CAAC,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,QAI1E;AAED,iBAAS,eAAe,CACvB,MAAM,EAAE,QAAQ,EAChB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,YAAY,QAMnB;AAED,iBAAS,WAAW,CAAC,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,QAIlE"}
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ module.exports = audioBufferToWav;
3
+ function audioBufferToWav(buffer, opt) {
4
+ const numChannels = buffer.numberOfChannels;
5
+ const { sampleRate } = buffer;
6
+ const format = opt.float32 ? 3 : 1;
7
+ const bitDepth = format === 3 ? 32 : 16;
8
+ let result;
9
+ if (numChannels === 2) {
10
+ result = interleave(buffer.getChannelData(0), buffer.getChannelData(1));
11
+ }
12
+ else {
13
+ result = buffer.getChannelData(0);
14
+ }
15
+ return encodeWAV({
16
+ samples: result,
17
+ format,
18
+ sampleRate,
19
+ numChannels,
20
+ bitDepth,
21
+ });
22
+ }
23
+ function encodeWAV({ samples, format, sampleRate, numChannels, bitDepth, }) {
24
+ const bytesPerSample = bitDepth / 8;
25
+ const blockAlign = numChannels * bytesPerSample;
26
+ const buffer = new ArrayBuffer(44 + samples.length * bytesPerSample);
27
+ const view = new DataView(buffer);
28
+ /* RIFF identifier */
29
+ writeString(view, 0, 'RIFF');
30
+ /* RIFF chunk length */
31
+ view.setUint32(4, 36 + samples.length * bytesPerSample, true);
32
+ /* RIFF type */
33
+ writeString(view, 8, 'WAVE');
34
+ /* format chunk identifier */
35
+ writeString(view, 12, 'fmt ');
36
+ /* format chunk length */
37
+ view.setUint32(16, 16, true);
38
+ /* sample format (raw) */
39
+ view.setUint16(20, format, true);
40
+ /* channel count */
41
+ view.setUint16(22, numChannels, true);
42
+ /* sample rate */
43
+ view.setUint32(24, sampleRate, true);
44
+ /* byte rate (sample rate * block align) */
45
+ view.setUint32(28, sampleRate * blockAlign, true);
46
+ /* block align (channel count * bytes per sample) */
47
+ view.setUint16(32, blockAlign, true);
48
+ /* bits per sample */
49
+ view.setUint16(34, bitDepth, true);
50
+ /* data chunk identifier */
51
+ writeString(view, 36, 'data');
52
+ /* data chunk length */
53
+ view.setUint32(40, samples.length * bytesPerSample, true);
54
+ if (format === 1) {
55
+ // Raw PCM
56
+ floatTo16BitPCM(view, 44, samples);
57
+ }
58
+ else {
59
+ writeFloat32(view, 44, samples);
60
+ }
61
+ return buffer;
62
+ }
63
+ function interleave(inputL, inputR) {
64
+ const length = inputL.length + inputR.length;
65
+ const result = new Float32Array(length);
66
+ let index = 0;
67
+ let inputIndex = 0;
68
+ while (index < length) {
69
+ result[index++] = inputL[inputIndex];
70
+ result[index++] = inputR[inputIndex];
71
+ inputIndex++;
72
+ }
73
+ return result;
74
+ }
75
+ function writeFloat32(output, offset, input) {
76
+ for (let i = 0; i < input.length; i++, offset += 4) {
77
+ output.setFloat32(offset, input[i], true);
78
+ }
79
+ }
80
+ function floatTo16BitPCM(output, offset, input) {
81
+ for (let i = 0; i < input.length; i++, offset += 2) {
82
+ const s = Math.max(-1, Math.min(1, input[i]));
83
+ output.setInt16(offset, s < 0 ? s * 0x8000 : s * 0x7fff, true);
84
+ }
85
+ }
86
+ function writeString(view, offset, string) {
87
+ for (let i = 0; i < string.length; i++) {
88
+ view.setUint8(offset + i, string.charCodeAt(i));
89
+ }
90
+ }
91
+ //# sourceMappingURL=audio-buffer-to-wav.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"audio-buffer-to-wav.js","sourceRoot":"","sources":["../../src/audio/audio-buffer-to-wav.ts"],"names":[],"mappings":";AAAA,MAAM,CAAC,OAAO,GAAG,gBAAgB,CAAC;AAElC,SAAS,gBAAgB,CACxB,MAAmB,EACnB,GAEC;IAED,MAAM,WAAW,GAAG,MAAM,CAAC,gBAAgB,CAAC;IAC5C,MAAM,EAAC,UAAU,EAAC,GAAG,MAAM,CAAC;IAC5B,MAAM,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACnC,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC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@
1
+ export declare const uint8ToBase64: (buffer: AudioBuffer) => string;
2
+ //# sourceMappingURL=audio-url-helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"audio-url-helpers.d.ts","sourceRoot":"","sources":["../../src/audio/audio-url-helpers.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,WAAY,WAAW,WAYhD,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.uint8ToBase64 = void 0;
4
+ const uint8ToBase64 = (buffer) => {
5
+ const wavAsArrayBuffer = audioBufferToWav(buffer, {
6
+ float32: false,
7
+ });
8
+ let binary = '';
9
+ const bytes = new Uint8Array(wavAsArrayBuffer);
10
+ const len = bytes.byteLength;
11
+ for (let i = 0; i < len; i++) {
12
+ binary += String.fromCharCode(bytes[i]);
13
+ }
14
+ return window.btoa(binary);
15
+ };
16
+ exports.uint8ToBase64 = uint8ToBase64;
17
+ //# sourceMappingURL=audio-url-helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"audio-url-helpers.js","sourceRoot":"","sources":["../../src/audio/audio-url-helpers.ts"],"names":[],"mappings":";;;AAAO,MAAM,aAAa,GAAG,CAAC,MAAmB,EAAE,EAAE;IACpD,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,MAAM,EAAE;QACjD,OAAO,EAAE,KAAK;KACd,CAAC,CAAC;IACH,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,MAAM,KAAK,GAAG,IAAI,UAAU,CAAC,gBAAgB,CAAC,CAAC;IAC/C,MAAM,GAAG,GAAG,KAAK,CAAC,UAAU,CAAC;IAC7B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;QAC7B,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;KACxC;IAED,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC5B,CAAC,CAAC;AAZW,QAAA,aAAa,iBAYxB"}
@@ -2,7 +2,7 @@ import { PixelFormat } from './pixel-format';
2
2
  declare const validOptions: readonly ["png", "jpeg", "none"];
3
3
  export declare type ImageFormat = typeof validOptions[number];
4
4
  export declare const setImageFormat: (format: ImageFormat) => void;
5
- export declare const getUserPreferredImageFormat: () => "png" | "jpeg" | "none" | undefined;
5
+ export declare const getUserPreferredImageFormat: () => "none" | "png" | "jpeg" | undefined;
6
6
  export declare const validateSelectedPixelFormatAndImageFormatCombination: (pixelFormat: PixelFormat, imageFormat: ImageFormat) => 'none' | 'valid';
7
7
  export {};
8
8
  //# sourceMappingURL=image-format.d.ts.map
@@ -44,7 +44,7 @@ export declare const Config: {
44
44
  *
45
45
  * Set this to 'verbose' to get browser logs and other IO.
46
46
  */
47
- readonly setLevel: (newLogLevel: "error" | "verbose" | "info" | "warn") => void;
47
+ readonly setLevel: (newLogLevel: "verbose" | "info" | "warn" | "error") => void;
48
48
  };
49
49
  readonly Puppeteer: {
50
50
  /**
@@ -74,7 +74,7 @@ export declare const Config: {
74
74
  /** Decide in which image format to render. Can be either 'jpeg' or 'png'.
75
75
  * PNG is slower, but supports transparency.
76
76
  */
77
- readonly setImageFormat: (format: "png" | "jpeg" | "none") => void;
77
+ readonly setImageFormat: (format: "none" | "png" | "jpeg") => void;
78
78
  /**
79
79
  * Render only a subset of a video.
80
80
  * Pass in a tuple [20, 30] to only render frames 20-30 into a video.
@@ -126,7 +126,7 @@ export declare const Config: {
126
126
  * Possible values: 4444-xq, 4444, hq, standard, light, proxy. Default: 'hq'
127
127
  * See https://avpres.net/FFmpeg/im_ProRes.html for meaning of possible values.
128
128
  */
129
- readonly setProResProfile: (profile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined) => void;
129
+ readonly setProResProfile: (profile: "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined) => void;
130
130
  };
131
131
  };
132
132
  export type { PixelFormat, Concurrency, WebpackConfiguration, WebpackOverrideFn, BrowserExecutable, FfmpegExecutable, ImageFormat, Codec, Browser, FrameRange, LogLevel, };
@@ -1,6 +1,6 @@
1
1
  export declare const logLevels: readonly ["verbose", "info", "warn", "error"];
2
2
  export declare type LogLevel = typeof logLevels[number];
3
- export declare const getLogLevel: () => "error" | "verbose" | "info" | "warn";
3
+ export declare const getLogLevel: () => "verbose" | "info" | "warn" | "error";
4
4
  export declare const setLogLevel: (newLogLevel: LogLevel) => void;
5
5
  export declare const isValidLogLevel: (level: string) => boolean;
6
6
  export declare const isEqualOrBelowLogLevel: (level: LogLevel) => boolean;
@@ -1,2 +1,2 @@
1
- export declare const getAssetFileName: (filename: string) => string;
1
+ export declare const getAssetDisplayName: (filename: string) => string;
2
2
  //# sourceMappingURL=get-asset-file-name.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-asset-file-name.d.ts","sourceRoot":"","sources":["../src/get-asset-file-name.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,aAAc,MAAM,KAAG,MAMnD,CAAC"}
1
+ {"version":3,"file":"get-asset-file-name.d.ts","sourceRoot":"","sources":["../src/get-asset-file-name.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,aAAc,MAAM,KAAG,MAUtD,CAAC"}
@@ -1,12 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getAssetFileName = void 0;
4
- const getAssetFileName = (filename) => {
3
+ exports.getAssetDisplayName = void 0;
4
+ const getAssetDisplayName = (filename) => {
5
+ if (/data:|blob:/.test(filename.substring(0, 5))) {
6
+ return 'Data URL';
7
+ }
5
8
  const splitted = filename
6
9
  .split('/')
7
10
  .map((s) => s.split('\\'))
8
11
  .flat(1);
9
12
  return splitted[splitted.length - 1];
10
13
  };
11
- exports.getAssetFileName = getAssetFileName;
14
+ exports.getAssetDisplayName = getAssetDisplayName;
12
15
  //# sourceMappingURL=get-asset-file-name.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-asset-file-name.js","sourceRoot":"","sources":["../src/get-asset-file-name.ts"],"names":[],"mappings":";;;AAAO,MAAM,gBAAgB,GAAG,CAAC,QAAgB,EAAU,EAAE;IAC5D,MAAM,QAAQ,GAAG,QAAQ;SACvB,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;SACzB,IAAI,CAAC,CAAC,CAAC,CAAC;IACV,OAAO,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AACtC,CAAC,CAAC;AANW,QAAA,gBAAgB,oBAM3B"}
1
+ {"version":3,"file":"get-asset-file-name.js","sourceRoot":"","sources":["../src/get-asset-file-name.ts"],"names":[],"mappings":";;;AAAO,MAAM,mBAAmB,GAAG,CAAC,QAAgB,EAAU,EAAE;IAC/D,IAAI,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE;QACjD,OAAO,UAAU,CAAC;KAClB;IAED,MAAM,QAAQ,GAAG,QAAQ;SACvB,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;SACzB,IAAI,CAAC,CAAC,CAAC,CAAC;IACV,OAAO,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AACtC,CAAC,CAAC;AAVW,QAAA,mBAAmB,uBAU9B"}
package/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ declare global {
4
4
  interface Window {
5
5
  ready: boolean;
6
6
  getStaticCompositions: () => TCompMetadata[];
7
+ remotion_staticBase: string;
7
8
  remotion_setFrame: (frame: number) => void;
8
9
  remotion_initialFrame: number;
9
10
  remotion_collectAssets: () => TAsset[];
@@ -37,4 +38,5 @@ export * from './use-frame';
37
38
  export * from './use-video-config';
38
39
  export * from './video';
39
40
  export * from './video-config';
41
+ export { staticFile } from './static-file';
40
42
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AACvB,OAAO,EAAC,MAAM,EAAE,aAAa,EAAC,MAAM,sBAAsB,CAAC;AAG3D,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,MAAM;QACf,KAAK,EAAE,OAAO,CAAC;QACf,qBAAqB,EAAE,MAAM,aAAa,EAAE,CAAC;QAC7C,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QAC3C,qBAAqB,EAAE,MAAM,CAAC;QAC9B,sBAAsB,EAAE,MAAM,MAAM,EAAE,CAAC;QACvC,iBAAiB,EAAE,OAAO,CAAC;QAC3B,iBAAiB,EAAE,OAAO,CAAC;KAC3B;CACD;AAID,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAC,MAAM,EAAC,MAAM,sBAAsB,CAAC;AAC5C,cAAc,UAAU,CAAC;AACzB,OAAO,EAAC,aAAa,EAAC,MAAM,sBAAsB,CAAC;AACnD,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAi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B,CAAC;AACtD,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,QAAQ,EAAC,MAAM,cAAc,CAAC;AACtC,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC"}
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- exports.Series = exports.Sequence = exports.registerRoot = exports.Loop = exports.interpolateColors = exports.getInputProps = void 0;
13
+ exports.staticFile = exports.Series = exports.Sequence = exports.registerRoot = exports.Loop = exports.interpolateColors = exports.getInputProps = void 0;
14
14
  require("./asset-types");
15
15
  const multiple_versions_warning_1 = require("./multiple-versions-warning");
16
16
  (0, multiple_versions_warning_1.checkMultipleRemotionVersions)();
@@ -44,4 +44,6 @@ __exportStar(require("./use-frame"), exports);
44
44
  __exportStar(require("./use-video-config"), exports);
45
45
  __exportStar(require("./video"), exports);
46
46
  __exportStar(require("./video-config"), exports);
47
+ var static_file_1 = require("./static-file");
48
+ Object.defineProperty(exports, "staticFile", { enumerable: true, get: function () { return static_file_1.staticFile; } });
47
49
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;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A+B;AAC/B,6CAAyC;AAAjC,yGAAA,UAAU,OAAA"}
@@ -72,11 +72,11 @@ export declare const Internals: {
72
72
  getDefaultCrfForCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv") => number;
73
73
  getActualCrf: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv") => number;
74
74
  setFrameRangeFromCli: (newFrameRange: string | number) => void;
75
- getUserPreferredImageFormat: () => "png" | "jpeg" | "none" | undefined;
76
- validateSelectedPixelFormatAndImageFormatCombination: (pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le", imageFormat: "png" | "jpeg" | "none") => "none" | "valid";
75
+ getUserPreferredImageFormat: () => "none" | "png" | "jpeg" | undefined;
76
+ validateSelectedPixelFormatAndImageFormatCombination: (pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le", imageFormat: "none" | "png" | "jpeg") => "none" | "valid";
77
77
  validateSelectedPixelFormatAndCodecCombination: (pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le", codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv") => void;
78
78
  validateFrameRange: (frameRange: import("./config/frame-range").FrameRange | null) => void;
79
- validateNonNullImageFormat: (imageFormat: "png" | "jpeg" | "none") => void;
79
+ validateNonNullImageFormat: (imageFormat: "none" | "png" | "jpeg") => void;
80
80
  getWebpackCaching: () => boolean;
81
81
  useLazyComponent: <T>(compProps: CompProps<T>) => import("react").LazyExoticComponent<LooseAnyComponent<T>>;
82
82
  truthy: typeof truthy;
@@ -101,9 +101,9 @@ export declare const Internals: {
101
101
  validateFps: (fps: number, location: string) => void;
102
102
  validateDimension: (amount: number, nameOfProp: string, location: string) => void;
103
103
  getRemotionEnvironment: () => RemotionEnvironment;
104
- getProResProfile: () => "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined;
105
- setProResProfile: (profile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined) => void;
106
- validateSelectedCodecAndProResCombination: (actualCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv", actualProResProfile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined) => void;
104
+ getProResProfile: () => "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined;
105
+ setProResProfile: (profile: "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined) => void;
106
+ validateSelectedCodecAndProResCombination: (actualCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv", actualProResProfile: "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined) => void;
107
107
  getMaxTimelineTracks: () => number;
108
108
  SharedAudioContext: import("react").Context<{
109
109
  registerAudio: (aud: import("./audio").RemotionAudioProps) => {
@@ -1,2 +1,2 @@
1
- export declare const isRemoteAsset: (asset: string) => boolean;
1
+ export declare const isRemoteAsset: (asset: string, dataURLIsRemoteObject: boolean) => boolean;
2
2
  //# sourceMappingURL=is-remote-asset.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"is-remote-asset.d.ts","sourceRoot":"","sources":["../src/is-remote-asset.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,UAAW,MAAM,YAC4B,CAAC"}
1
+ {"version":3,"file":"is-remote-asset.d.ts","sourceRoot":"","sources":["../src/is-remote-asset.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,UAAW,MAAM,yBAAyB,OAAO,YAEvB,CAAC"}
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
+ // TODO: Can be removed in 3.0 branch
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
3
4
  exports.isRemoteAsset = void 0;
4
- const isRemoteAsset = (asset) => !asset.startsWith(window.location.origin) && !asset.startsWith('data');
5
+ const isRemoteAsset = (asset, dataURLIsRemoteObject) => (!asset.startsWith(window.location.origin) && !asset.startsWith('data')) ||
6
+ (asset.startsWith('data') && dataURLIsRemoteObject);
5
7
  exports.isRemoteAsset = isRemoteAsset;
6
8
  //# sourceMappingURL=is-remote-asset.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"is-remote-asset.js","sourceRoot":"","sources":["../src/is-remote-asset.ts"],"names":[],"mappings":";;;AAAO,MAAM,aAAa,GAAG,CAAC,KAAa,EAAE,EAAE,CAC9C,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;AAD3D,QAAA,aAAa,iBAC8C"}
1
+ {"version":3,"file":"is-remote-asset.js","sourceRoot":"","sources":["../src/is-remote-asset.ts"],"names":[],"mappings":";AAAA,qCAAqC;;;AAE9B,MAAM,aAAa,GAAG,CAAC,KAAa,EAAE,qBAA8B,EAAE,EAAE,CAC9E,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IACxE,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,qBAAqB,CAAC,CAAC;AAFxC,QAAA,aAAa,iBAE2B"}
@@ -53,6 +53,7 @@ if (typeof window !== 'undefined') {
53
53
  height: c.height,
54
54
  id: c.id,
55
55
  width: c.width,
56
+ defaultProps: c.defaultProps,
56
57
  };
57
58
  });
58
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":"register-root.js","sourceRoot":"","sources":["../src/register-root.tsx"],"names":[],"mappings":";;;AAGA,IAAI,IAAI,GAAoB,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BAAgB,EAAE,CAAC,CAAC,gBAAgB;YACpC,GAAG,EAAE,CAAC,CAAC,GAAG;YACV,MAAM,EAAE,CAAC,CAAC,MAAM;YAChB,EAAE,EAAE,CAAC,CAAC,EAAE;YACR,KAAK,EAAE,CAAC,CAAC,KAAK;YACd,YAAY,EAAE,CAAC,CAAC,YAAY;SAC5B,CAAC;IACH,CAAC,CAAC,CAAC;CACJ"}
@@ -0,0 +1,2 @@
1
+ export declare const staticFile: (path: string) => string;
2
+ //# sourceMappingURL=static-file.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static-file.d.ts","sourceRoot":"","sources":["../src/static-file.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,UAAU,SAAU,MAAM,WAOtC,CAAC"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.staticFile = void 0;
4
+ const trimLeadingSlash = (path) => {
5
+ if (path.startsWith('/')) {
6
+ return path.substr(1);
7
+ }
8
+ return path;
9
+ };
10
+ const inner = (path) => {
11
+ if (window.remotion_staticBase) {
12
+ return `${window.remotion_staticBase}/${trimLeadingSlash(path)}`;
13
+ }
14
+ return `/${trimLeadingSlash(path)}`;
15
+ };
16
+ const staticFile = (path) => {
17
+ const preparsed = inner(path);
18
+ if (!preparsed.startsWith('/')) {
19
+ return `/${preparsed}`;
20
+ }
21
+ return preparsed;
22
+ };
23
+ exports.staticFile = staticFile;
24
+ //# sourceMappingURL=static-file.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static-file.js","sourceRoot":"","sources":["../src/static-file.ts"],"names":[],"mappings":";;;AAAA,MAAM,gBAAgB,GAAG,CAAC,IAAY,EAAE,EAAE;IACzC,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE;QACzB,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;KACtB;IAED,OAAO,IAAI,CAAC;AACb,CAAC,CAAC;AAEF,MAAM,KAAK,GAAG,CAAC,IAAY,EAAU,EAAE;IACtC,IAAI,MAAM,CAAC,mBAAmB,EAAE;QAC/B,OAAO,GAAG,MAAM,CAAC,mBAAmB,IAAI,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC;KACjE;IAED,OAAO,IAAI,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC;AACrC,CAAC,CAAC;AAEK,MAAM,UAAU,GAAG,CAAC,IAAY,EAAE,EAAE;IAC1C,MAAM,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;IAC9B,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE;QAC/B,OAAO,IAAI,SAAS,EAAE,CAAC;KACvB;IAED,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC;AAPW,QAAA,UAAU,cAOrB"}
@@ -72,7 +72,7 @@ const useMediaInTimeline = ({ volume, mediaVolume, mediaRef, src, mediaType, })
72
72
  duration,
73
73
  from: 0,
74
74
  parent: (_a = parentSequence === null || parentSequence === void 0 ? void 0 : parentSequence.id) !== null && _a !== void 0 ? _a : null,
75
- displayName: (0, get_asset_file_name_1.getAssetFileName)(src),
75
+ displayName: (0, get_asset_file_name_1.getAssetDisplayName)(src),
76
76
  rootId,
77
77
  volume: volumes,
78
78
  showInTimeline: true,
@@ -1 +1 @@
1
- {"version":3,"file":"use-media-in-timeline.js","sourceRoot":"","sources":["../src/use-media-in-timeline.ts"],"names":[],"mappings":";;;AAAA,iCAA0E;AAC1E,6DAAyD;AACzD,6DAAwD;AACxD,+DAAuD;AACvD,mCAAiC;AACjC,6CAA6C;AAC7C,uEAA0D;AAC1D,yDAAkD;AAClD,+CAAyD;AAEzD,MAAM,OAAO,GAA6B,EAAE,CAAC;AAE7C,MAAM,QAAQ,GAAG,CAAC,OAAe,EAAE,EAAE;IACpC,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE;QACrB,OAAO;KACP;IAED,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,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EAAE,OAAO;YACf,cAAc,EAAE,IAAI;YACpB,KAAK;YACL,cAAc,EAAE,CAAC,GAAG,QAAQ;YAC5B,gBAAgB;YAChB,uBAAuB,EAAE,SAAS;SAClC,CAAC,CAAC;QACH,OAAO,GAAG,EAAE;YACX,kBAAkB,CAAC,EAAE,CAAC,CAAC;QACxB,CAAC,CAAC;IACH,CAAC,EAAE;QACF,UAAU;QACV,QAAQ;QACR,EAAE;QACF,cAAc;QACd,GAAG;QACH,gBAAgB;QAChB,MAAM;QACN,kBAAkB;QAClB,WAAW;QACX,OAAO;QACP,gBAAgB;QAChB,KAAK;QACL,QAAQ;QACR,SAAS;QACT,QAAQ;KACR,CAAC,CAAC;AACJ,CAAC,CAAC;AAzGW,QAAA,kBAAkB,sBAyG7B"}
1
+ {"version":3,"file":"use-media-in-timeline.js","sourceRoot":"","sources":["../src/use-media-in-timeline.ts"],"names":[],"mappings":";;;AAAA,iCAA0E;AAC1E,6DAAyD;AACzD,6DAAwD;AACxD,+DAA0D;AAC1D,mCAAiC;AACjC,6CAA6C;AAC7C,uEAA0D;AAC1D,yDAAkD;AAClD,+CAAyD;AAEzD,MAAM,OAAO,GAA6B,EAAE,CAAC;AAE7C,MAAM,QAAQ,GAAG,CAAC,OAAe,EAAE,EAAE;IACpC,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE;QACrB,OAAO;KACP;IAED,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACtB,OAAO,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;AACzB,CAAC,CAAC;AAEK,MAAM,kBAAkB,GAAG,CAAC,EAClC,MAAM,EACN,WAAW,EACX,QAAQ,EACR,GAAG,EACH,SAAS,GAOT,EAAE,EAAE;IACJ,MAAM,WAAW,GAAG,IAAA,iCAAc,GAAE,CAAC;IACrC,MAAM,EAAC,MAAM,EAAC,GAAG,IAAA,kBAAU,EAAC,yCAAe,CAAC,CAAC;IAC7C,MAAM,cAAc,GAAG,IAAA,kBAAU,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W;QACX,OAAO;QACP,gBAAgB;QAChB,KAAK;QACL,QAAQ;QACR,SAAS;QACT,QAAQ;KACR,CAAC,CAAC;AACJ,CAAC,CAAC;AAzGW,QAAA,kBAAkB,sBAyG7B"}
@@ -3,5 +3,5 @@ import { RemotionMainVideoProps } from './props';
3
3
  export declare const Video: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, "autoPlay" | "controls" | "loop"> & {
4
4
  volume?: import("../volume-prop").VolumeProp | undefined;
5
5
  playbackRate?: number | undefined;
6
- } & RemotionMainVideoProps, "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" | keyof RemotionMainVideoProps> & React.RefAttributes<HTMLVideoElement>>;
6
+ } & RemotionMainVideoProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "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" | "children" | "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" | "height" | "width" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | "poster" | "disablePictureInPicture" | "disableRemotePlayback" | keyof RemotionMainVideoProps> & React.RefAttributes<HTMLVideoElement>>;
7
7
  //# sourceMappingURL=Video.d.ts.map
@@ -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, "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 VideoForDevelopment: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "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" | "children" | "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" | "height" | "width" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | "poster" | "disablePictureInPicture" | "disableRemotePlayback"> & React.RefAttributes<HTMLVideoElement>>;
4
4
  //# sourceMappingURL=VideoForDevelopment.d.ts.map
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { RemotionVideoProps } from './props';
3
- export declare const VideoForRendering: 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, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "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" | "children" | "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" | "height" | "width" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | "poster" | "disablePictureInPicture" | "disableRemotePlayback"> & React.RefAttributes<HTMLVideoElement>>;
4
4
  //# sourceMappingURL=VideoForRendering.d.ts.map
@@ -57,7 +57,7 @@ const VideoForRenderingForwardFunction = ({ onError, volume: volumeProp, playbac
57
57
  id,
58
58
  frame: absoluteFrame,
59
59
  volume,
60
- isRemote: (0, is_remote_asset_1.isRemoteAsset)((0, absolute_src_1.getAbsoluteSrc)(props.src)),
60
+ isRemote: (0, is_remote_asset_1.isRemoteAsset)((0, absolute_src_1.getAbsoluteSrc)(props.src), false),
61
61
  mediaFrame: frame,
62
62
  playbackRate: playbackRate !== null && playbackRate !== void 0 ? playbackRate : 1,
63
63
  });
@@ -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,GAA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CAAC,GAAG;QACT,YAAY;QACZ,WAAW,CAAC,GAAG;QACf,KAAK;QACL,aAAa;KACb,CAAC,CAAC;IAEH,OAAO,gDAAO,GAAG,EAAE,QAAQ,IAAM,KAAK,IAAE,OAAO,EAAE,OAAO,YAAI,CAAC;AAC9D,CAAC,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAA,kBAAU,EAAC,gCAAgC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remotion",
3
- "version": "2.5.3",
3
+ "version": "2.5.6",
4
4
  "description": "Render videos in React",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -39,5 +39,5 @@
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "20ad1b623904cfd5ebefdfa47bcc298326f6ad23"
42
+ "gitHead": "3ca040a48c3c035abe736108959b75322374e665"
43
43
  }