@remotion/player 4.0.0-prefetch.7 → 4.0.0-prefetchapi.16

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 (69) hide show
  1. package/dist/MediaVolumeSlider.d.ts +0 -0
  2. package/dist/MediaVolumeSlider.js +0 -0
  3. package/dist/Player.d.ts +0 -0
  4. package/dist/Player.js +3 -3
  5. package/dist/PlayerControls.d.ts +0 -0
  6. package/dist/PlayerControls.js +0 -0
  7. package/dist/PlayerSeekBar.d.ts +0 -0
  8. package/dist/PlayerSeekBar.js +0 -0
  9. package/dist/PlayerUI.d.ts +0 -0
  10. package/dist/PlayerUI.js +0 -0
  11. package/dist/calculate-next-frame.d.ts +0 -0
  12. package/dist/calculate-next-frame.js +0 -0
  13. package/dist/calculate-scale.d.ts +0 -0
  14. package/dist/calculate-scale.js +0 -0
  15. package/dist/emitter-context.d.ts +0 -0
  16. package/dist/emitter-context.js +0 -0
  17. package/dist/error-boundary.d.ts +0 -0
  18. package/dist/error-boundary.js +0 -0
  19. package/dist/event-emitter.d.ts +0 -0
  20. package/dist/event-emitter.js +0 -0
  21. package/dist/format-time.d.ts +0 -0
  22. package/dist/format-time.js +0 -0
  23. package/dist/icons.d.ts +0 -0
  24. package/dist/icons.js +0 -0
  25. package/dist/index.d.ts +1 -0
  26. package/dist/index.js +0 -0
  27. package/dist/player-css-classname.d.ts +0 -0
  28. package/dist/player-css-classname.js +0 -0
  29. package/dist/player-methods.d.ts +0 -0
  30. package/dist/player-methods.js +0 -0
  31. package/dist/test/index.test.d.ts +0 -0
  32. package/dist/test/index.test.js +0 -0
  33. package/dist/test/test-utils.d.ts +0 -0
  34. package/dist/test/test-utils.js +0 -0
  35. package/dist/test/validate-in-out-frames.test.d.ts +0 -0
  36. package/dist/test/validate-in-out-frames.test.js +0 -0
  37. package/dist/test/validate-prop.test.d.ts +0 -0
  38. package/dist/test/validate-prop.test.js +0 -0
  39. package/dist/use-hover-state.d.ts +0 -0
  40. package/dist/use-hover-state.js +0 -0
  41. package/dist/use-playback.d.ts +0 -0
  42. package/dist/use-playback.js +0 -0
  43. package/dist/use-player.d.ts +0 -0
  44. package/dist/use-player.js +0 -0
  45. package/dist/utils/calculate-player-size.d.ts +0 -0
  46. package/dist/utils/calculate-player-size.js +0 -0
  47. package/dist/utils/cancellable-promise.d.ts +0 -0
  48. package/dist/utils/cancellable-promise.js +0 -0
  49. package/dist/utils/delay.d.ts +0 -0
  50. package/dist/utils/delay.js +0 -0
  51. package/dist/utils/is-node.d.ts +0 -0
  52. package/dist/utils/is-node.js +0 -0
  53. package/dist/utils/preview-size.d.ts +0 -0
  54. package/dist/utils/preview-size.js +0 -0
  55. package/dist/utils/use-cancellable-promises.d.ts +0 -0
  56. package/dist/utils/use-cancellable-promises.js +0 -0
  57. package/dist/utils/use-click-prevention-on-double-click.d.ts +0 -0
  58. package/dist/utils/use-click-prevention-on-double-click.js +0 -0
  59. package/dist/utils/use-element-size.d.ts +0 -0
  60. package/dist/utils/use-element-size.js +0 -0
  61. package/dist/utils/validate-in-out-frame.d.ts +0 -0
  62. package/dist/utils/validate-in-out-frame.js +0 -0
  63. package/dist/utils/validate-initial-frame.d.ts +0 -0
  64. package/dist/utils/validate-initial-frame.js +0 -0
  65. package/dist/utils/validate-playbackrate.d.ts +0 -0
  66. package/dist/utils/validate-playbackrate.js +0 -0
  67. package/dist/volume-persistance.d.ts +0 -0
  68. package/dist/volume-persistance.js +0 -0
  69. package/package.json +3 -3
File without changes
File without changes
package/dist/Player.d.ts CHANGED
File without changes
package/dist/Player.js CHANGED
@@ -195,9 +195,9 @@ const PlayerFn = ({ durationInFrames, compositionHeight, compositionWidth, fps,
195
195
  remotion_1.Internals.CSSUtils.injectCSS(remotion_1.Internals.CSSUtils.makeDefaultCSS(`.${player_css_classname_1.PLAYER_CSS_CLASSNAME}`, '#fff'));
196
196
  }, []);
197
197
  }
198
- return ((0, jsx_runtime_1.jsx)(remotion_1.Internals.CanUseRemotionHooksProvider, { children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.Timeline.TimelineContext.Provider, { value: timelineContextValue, children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.Timeline.SetTimelineContext.Provider, { value: setTimelineContextValue, children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.CompositionManager.Provider, { value: compositionManagerContext, children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.MediaVolumeContext.Provider, { value: mediaVolumeContextValue, children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.SetMediaVolumeContext.Provider, { value: setMediaVolumeContextValue, children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.SharedAudioContextProvider, { numberOfAudioTags: numberOfSharedAudioTags, children: (0, jsx_runtime_1.jsx)(emitter_context_1.PlayerEventEmitterContext.Provider, { value: emitter, children: (0, jsx_runtime_1.jsx)(PlayerUI_1.default, { ref: rootRef, renderLoading: renderLoading, autoPlay: Boolean(autoPlay), loop: Boolean(loop), controls: Boolean(controls), errorFallback: errorFallback, style: style, inputProps: passedInputProps, allowFullscreen: Boolean(allowFullscreen), moveToBeginningWhenEnded: Boolean(moveToBeginningWhenEnded), clickToPlay: typeof clickToPlay === 'boolean'
199
- ? clickToPlay
200
- : Boolean(controls), showVolumeControls: Boolean(showVolumeControls), setMediaVolume: setMediaVolumeAndPersist, mediaVolume: mediaVolume, mediaMuted: mediaMuted, doubleClickToFullscreen: Boolean(doubleClickToFullscreen), setMediaMuted: setMediaMuted, spaceKeyToPlayOrPause: Boolean(spaceKeyToPlayOrPause), playbackRate: playbackRate, className: className !== null && className !== void 0 ? className : undefined, showPosterWhenUnplayed: Boolean(showPosterWhenUnplayed), showPosterWhenEnded: Boolean(showPosterWhenEnded), showPosterWhenPaused: Boolean(showPosterWhenPaused), renderPoster: renderPoster, inFrame: inFrame !== null && inFrame !== void 0 ? inFrame : null, outFrame: outFrame !== null && outFrame !== void 0 ? outFrame : null }) }) }) }) }) }) }) }) }));
198
+ return ((0, jsx_runtime_1.jsx)(remotion_1.Internals.CanUseRemotionHooksProvider, { children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.Timeline.TimelineContext.Provider, { value: timelineContextValue, children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.Timeline.SetTimelineContext.Provider, { value: setTimelineContextValue, children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.CompositionManager.Provider, { value: compositionManagerContext, children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.MediaVolumeContext.Provider, { value: mediaVolumeContextValue, children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.SetMediaVolumeContext.Provider, { value: setMediaVolumeContextValue, children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.SharedAudioContextProvider, { numberOfAudioTags: numberOfSharedAudioTags, children: (0, jsx_runtime_1.jsx)(emitter_context_1.PlayerEventEmitterContext.Provider, { value: emitter, children: (0, jsx_runtime_1.jsx)(remotion_1.Internals.PreloadProvider, { children: (0, jsx_runtime_1.jsx)(PlayerUI_1.default, { ref: rootRef, renderLoading: renderLoading, autoPlay: Boolean(autoPlay), loop: Boolean(loop), controls: Boolean(controls), errorFallback: errorFallback, style: style, inputProps: passedInputProps, allowFullscreen: Boolean(allowFullscreen), moveToBeginningWhenEnded: Boolean(moveToBeginningWhenEnded), clickToPlay: typeof clickToPlay === 'boolean'
199
+ ? clickToPlay
200
+ : Boolean(controls), showVolumeControls: Boolean(showVolumeControls), setMediaVolume: setMediaVolumeAndPersist, mediaVolume: mediaVolume, mediaMuted: mediaMuted, doubleClickToFullscreen: Boolean(doubleClickToFullscreen), setMediaMuted: setMediaMuted, spaceKeyToPlayOrPause: Boolean(spaceKeyToPlayOrPause), playbackRate: playbackRate, className: className !== null && className !== void 0 ? className : undefined, showPosterWhenUnplayed: Boolean(showPosterWhenUnplayed), showPosterWhenEnded: Boolean(showPosterWhenEnded), showPosterWhenPaused: Boolean(showPosterWhenPaused), renderPoster: renderPoster, inFrame: inFrame !== null && inFrame !== void 0 ? inFrame : null, outFrame: outFrame !== null && outFrame !== void 0 ? outFrame : null }) }) }) }) }) }) }) }) }) }));
201
201
  };
202
202
  exports.PlayerFn = PlayerFn;
203
203
  exports.Player = (0, react_1.forwardRef)(exports.PlayerFn);
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/PlayerUI.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/icons.d.ts CHANGED
File without changes
package/dist/icons.js CHANGED
File without changes
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { CallbackListener, EventTypes } from './event-emitter';
2
3
  import { PlayerEmitter } from './event-emitter';
3
4
  export { ErrorFallback, Player, PlayerProps } from './Player';
package/dist/index.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/player",
3
- "version": "4.0.0-prefetch.7+47cce0679",
3
+ "version": "4.0.0-prefetchapi.16+486ce6105",
4
4
  "description": "Remotion Player",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -28,7 +28,7 @@
28
28
  ],
29
29
  "license": "SEE LICENSE IN LICENSE.md",
30
30
  "dependencies": {
31
- "remotion": "4.0.0-prefetch.7+47cce0679"
31
+ "remotion": "4.0.0-prefetchapi.16+486ce6105"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": ">=16.8.0",
@@ -63,5 +63,5 @@
63
63
  "publishConfig": {
64
64
  "access": "public"
65
65
  },
66
- "gitHead": "47cce06799563fb244ff25b211ea4055389bd7de"
66
+ "gitHead": "486ce6105d52f9494351e4fbf564f6cfb0b10408"
67
67
  }