@zync/zync-screnplay-player 0.1.214 → 0.1.216

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 (39) hide show
  1. package/dist/bundle.js +1 -1
  2. package/dist/screenplay/RemotionRenderer/components/LottieAnimationGlobal.js +21 -21
  3. package/dist/screenplay/RemotionRenderer/components/effects/BrollFullscreen.js +1 -0
  4. package/dist/screenplay/RemotionRenderer/components/layouts/BrollGreenScreen.js +8 -0
  5. package/dist/screenplay/RemotionRenderer/components/layouts/BrollSplitScreen.js +6 -0
  6. package/dist/screenplay/RemotionRenderer/components/layouts/BrollStudioBackdrop.js +6 -0
  7. package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabColdOpenVisual.js +3 -0
  8. package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabConversationSpine.js +3 -0
  9. package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabDocumentaryInset.js +3 -0
  10. package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabRackFocus.js +3 -0
  11. package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabSplit.js +5 -0
  12. package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabStudioSet.js +4 -0
  13. package/dist/screenplay/RemotionRenderer/components/layouts/DynamicTriangle.js +3 -0
  14. package/dist/screenplay/RemotionRenderer/components/layouts/Handoff.js +2 -0
  15. package/dist/screenplay/RemotionRenderer/components/layouts/IntroVideo.js +6 -0
  16. package/dist/screenplay/RemotionRenderer/components/layouts/KeyPointOverlayDepth.js +3 -0
  17. package/dist/screenplay/RemotionRenderer/components/layouts/Keyword.js +5 -0
  18. package/dist/screenplay/RemotionRenderer/components/layouts/KeywordStudioBackdrop.js +3 -0
  19. package/dist/screenplay/RemotionRenderer/components/layouts/MotionStill.js +2 -0
  20. package/dist/screenplay/RemotionRenderer/components/layouts/MotionStillFullScreen.js +2 -0
  21. package/dist/screenplay/RemotionRenderer/components/layouts/MotionStillGreenScreen.js +5 -0
  22. package/dist/screenplay/RemotionRenderer/components/layouts/MotionStillGreenScreenV2.js +8 -0
  23. package/dist/screenplay/RemotionRenderer/components/layouts/MotionStillStudioBackdrop.js +6 -0
  24. package/dist/screenplay/RemotionRenderer/components/layouts/SimpleFrame.js +2 -0
  25. package/dist/screenplay/RemotionRenderer/components/layouts/SimpleFrameBroll.js +2 -0
  26. package/dist/screenplay/RemotionRenderer/components/layouts/TextWithVideo.js +2 -0
  27. package/dist/screenplay/RemotionRenderer/components/utils/ChromaKeyedVideo.js +3 -1
  28. package/dist/screenplay/RemotionRenderer/components/utils/FaceCenteredVideo.js +51 -50
  29. package/dist/screenplay/RemotionRenderer/components/utils/PausableImg.js +4 -4
  30. package/dist/screenplay/RemotionRenderer/components/utils/README.md +80 -80
  31. package/dist/screenplay/RemotionRenderer/components/utils/StretchTextDemo.js +3 -3
  32. package/dist/screenplay/RemotionRenderer/helpers/convertToSeconds.js +8 -8
  33. package/dist/screenplay/RemotionRenderer/helpers/faceBasedVideoStyles.js +4 -4
  34. package/dist/screenplay/RemotionRenderer/helpers/faceCenteredVideoTransforms.js +46 -46
  35. package/dist/screenplay/RemotionRenderer/main/screenplaySchema.js +51 -51
  36. package/dist/screenplay/RemotionRenderer/registeredComponents.js +2 -2
  37. package/dist/screenplay/RemotionRenderer/tracks/DynamicVideoComposition.js +63 -2
  38. package/dist/screenplay/RemotionRenderer/tracks/LayoutVideoTrack.js +20 -20
  39. package/package.json +47 -47
@@ -8,9 +8,9 @@ import React, { useEffect, useState } from 'react';
8
8
  import { delayRender, continueRender, cancelRender } from 'remotion';
9
9
  import { Lottie } from '@remotion/lottie';
10
10
 
11
- /**
12
- * Convert a HEX color string (e.g. "#ff8800") to the RGBA float array that
13
- * Lottie expects: [r, g, b, a] where each component is 0‑1.
11
+ /**
12
+ * Convert a HEX color string (e.g. "#ff8800") to the RGBA float array that
13
+ * Lottie expects: [r, g, b, a] where each component is 0‑1.
14
14
  */
15
15
  var hexToRGBA = function hexToRGBA(hex) {
16
16
  var clean = hex.replace('#', '');
@@ -25,9 +25,9 @@ var hexToRGBA = function hexToRGBA(hex) {
25
25
  ];
26
26
  };
27
27
 
28
- /**
29
- * Recursively walks through shape objects and overrides any fill (fl) or
30
- * stroke (st) color with the provided RGBA array.
28
+ /**
29
+ * Recursively walks through shape objects and overrides any fill (fl) or
30
+ * stroke (st) color with the provided RGBA array.
31
31
  */
32
32
  var _applyColor = function applyColor(shapes, rgba) {
33
33
  shapes === null || shapes === void 0 ? void 0 : shapes.forEach(function (shape) {
@@ -40,11 +40,11 @@ var _applyColor = function applyColor(shapes, rgba) {
40
40
  });
41
41
  };
42
42
 
43
- /**
44
- * Traverses all layers (top‑level + asset layers) and applies the primary
45
- * color to every fill / stroke it encounters. This is useful for Lottie files
46
- * that were exported with a single static color (e.g. white) and do not use
47
- * layer naming conventions like "PrimaryColor".
43
+ /**
44
+ * Traverses all layers (top‑level + asset layers) and applies the primary
45
+ * color to every fill / stroke it encounters. This is useful for Lottie files
46
+ * that were exported with a single static color (e.g. white) and do not use
47
+ * layer naming conventions like "PrimaryColor".
48
48
  */
49
49
  var replaceGlobalColor = function replaceGlobalColor(data, hex) {
50
50
  var _data$assets;
@@ -60,16 +60,16 @@ var replaceGlobalColor = function replaceGlobalColor(data, hex) {
60
60
  });
61
61
  };
62
62
 
63
- /**
64
- * LottieAnimationGlobal – specialised wrapper to render the provided Lottie
65
- * (e.g. text‑bubble‑animation.json) while dynamically replacing **all** stroke
66
- * and fill colors with the supplied `primaryColor`.
67
- *
68
- * Props:
69
- * • animationPath – URL or local path to the json file.
70
- * • primaryColor – HEX string, defaults to "#ffffff".
71
- * • autoplay – boolean, whether to start playing immediately.
72
- * • loop – boolean, whether to loop the animation.
63
+ /**
64
+ * LottieAnimationGlobal – specialised wrapper to render the provided Lottie
65
+ * (e.g. text‑bubble‑animation.json) while dynamically replacing **all** stroke
66
+ * and fill colors with the supplied `primaryColor`.
67
+ *
68
+ * Props:
69
+ * • animationPath – URL or local path to the json file.
70
+ * • primaryColor – HEX string, defaults to "#ffffff".
71
+ * • autoplay – boolean, whether to start playing immediately.
72
+ * • loop – boolean, whether to loop the animation.
73
73
  */
74
74
  export var LottieAnimationGlobal = function LottieAnimationGlobal(_ref) {
75
75
  var animationPath = _ref.animationPath,
@@ -16,6 +16,7 @@ export var BrollFullscreen = function BrollFullscreen(_ref) {
16
16
  url: url,
17
17
  zIndex: 1
18
18
  }) : null, /*#__PURE__*/React.createElement(OffthreadVideo, {
19
+ pauseWhenBuffering: true,
19
20
  src: videoUrl,
20
21
  style: {
21
22
  width: "100%",
@@ -90,6 +90,7 @@ var Square = function Square(_ref) {
90
90
  centerHorizontally: true,
91
91
  transparent: true
92
92
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
93
+ pauseWhenBuffering: true,
93
94
  startFrom: startVideoFrom,
94
95
  src: noBackgroundVideoUrl,
95
96
  muted: false,
@@ -125,6 +126,7 @@ var Square = function Square(_ref) {
125
126
  filter: !showVirtual && noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.backgroundDim && noBackgroundVideoUrl ? "brightness(0.7)" : undefined
126
127
  }
127
128
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
129
+ pauseWhenBuffering: true,
128
130
  startFrom: startVideoFrom,
129
131
  src: videoUrl,
130
132
  muted: true,
@@ -174,6 +176,7 @@ var Square = function Square(_ref) {
174
176
  zIndex: 9
175
177
  }
176
178
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
179
+ pauseWhenBuffering: true,
177
180
  startFrom: startVideoFrom,
178
181
  src: noBackgroundVideoUrl,
179
182
  muted: true,
@@ -297,6 +300,7 @@ var Portrait = function Portrait(_ref2) {
297
300
  centerHorizontally: false,
298
301
  transparent: true
299
302
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
303
+ pauseWhenBuffering: true,
300
304
  startFrom: startVideoFrom,
301
305
  src: noBackgroundVideoUrl,
302
306
  muted: false,
@@ -333,6 +337,7 @@ var Portrait = function Portrait(_ref2) {
333
337
  zIndex: 0
334
338
  }
335
339
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
340
+ pauseWhenBuffering: true,
336
341
  startFrom: startVideoFrom,
337
342
  src: videoUrl,
338
343
  muted: true,
@@ -386,6 +391,7 @@ var Portrait = function Portrait(_ref2) {
386
391
  zIndex: 9
387
392
  }
388
393
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
394
+ pauseWhenBuffering: true,
389
395
  startFrom: startVideoFrom,
390
396
  src: noBackgroundVideoUrl,
391
397
  muted: true,
@@ -502,6 +508,7 @@ var Landscape = function Landscape(_ref3) {
502
508
  useAveragePosition: true,
503
509
  transparent: true
504
510
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
511
+ pauseWhenBuffering: true,
505
512
  startFrom: startVideoFrom,
506
513
  src: noBackgroundVideoUrl,
507
514
  muted: false,
@@ -551,6 +558,7 @@ var Landscape = function Landscape(_ref3) {
551
558
  zIndex: 9
552
559
  }
553
560
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
561
+ pauseWhenBuffering: true,
554
562
  startFrom: startVideoFrom,
555
563
  src: noBackgroundVideoUrl,
556
564
  muted: true,
@@ -97,6 +97,7 @@ var Square = function Square(_ref) {
97
97
  centerHorizontally: false,
98
98
  translateY: 100
99
99
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
100
+ pauseWhenBuffering: true,
100
101
  startFrom: startVideoFrom,
101
102
  src: videoUrl,
102
103
  muted: muted,
@@ -148,6 +149,7 @@ var Square = function Square(_ref) {
148
149
  zIndex: 9
149
150
  }
150
151
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
152
+ pauseWhenBuffering: true,
151
153
  startFrom: startVideoFrom,
152
154
  src: noBackgroundVideoUrl,
153
155
  muted: true,
@@ -266,6 +268,7 @@ var Portrait = function Portrait(_ref2) {
266
268
  filter: noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.backgroundDim && noBackgroundVideoUrl ? "brightness(0.7)" : undefined
267
269
  }
268
270
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
271
+ pauseWhenBuffering: true,
269
272
  startFrom: startVideoFrom,
270
273
  src: videoUrl,
271
274
  muted: muted,
@@ -324,6 +327,7 @@ var Portrait = function Portrait(_ref2) {
324
327
  left: mainVideoLeftTransition
325
328
  }
326
329
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
330
+ pauseWhenBuffering: true,
327
331
  startFrom: startVideoFrom,
328
332
  src: noBackgroundVideoUrl,
329
333
  muted: true,
@@ -441,6 +445,7 @@ var Landscape = function Landscape(_ref3) {
441
445
  filter: !showVirtual && noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.backgroundDim && noBackgroundVideoUrl ? "brightness(0.7)" : undefined
442
446
  }
443
447
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
448
+ pauseWhenBuffering: true,
444
449
  startFrom: startVideoFrom,
445
450
  src: videoUrl,
446
451
  muted: muted,
@@ -501,6 +506,7 @@ var Landscape = function Landscape(_ref3) {
501
506
  left: mainVideoLeftTransition
502
507
  }
503
508
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
509
+ pauseWhenBuffering: true,
504
510
  startFrom: startVideoFrom,
505
511
  src: noBackgroundVideoUrl,
506
512
  muted: true,
@@ -71,6 +71,7 @@ var Square = function Square(_ref) {
71
71
  filter: !showVirtual && noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.backgroundDim && noBackgroundVideoUrl ? "brightness(0.7)" : undefined
72
72
  }
73
73
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
74
+ pauseWhenBuffering: true,
74
75
  startFrom: startVideoFrom,
75
76
  src: videoUrl,
76
77
  muted: true,
@@ -147,6 +148,7 @@ var Square = function Square(_ref) {
147
148
  zIndex: 2
148
149
  }
149
150
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
151
+ pauseWhenBuffering: true,
150
152
  startFrom: startVideoFrom,
151
153
  src: noBackgroundVideoUrl,
152
154
  muted: false,
@@ -246,6 +248,7 @@ var Portrait = function Portrait(_ref2) {
246
248
  filter: !showVirtual && noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.backgroundDim && noBackgroundVideoUrl ? "brightness(0.7)" : undefined
247
249
  }
248
250
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
251
+ pauseWhenBuffering: true,
249
252
  startFrom: startVideoFrom,
250
253
  src: videoUrl,
251
254
  muted: true,
@@ -319,6 +322,7 @@ var Portrait = function Portrait(_ref2) {
319
322
  muted: false,
320
323
  noBackgroundVideoEffects: noBackgroundVideoEffects
321
324
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
325
+ pauseWhenBuffering: true,
322
326
  startFrom: startVideoFrom,
323
327
  src: noBackgroundVideoUrl,
324
328
  muted: false,
@@ -412,6 +416,7 @@ var Landscape = function Landscape(_ref3) {
412
416
  centerHorizontally: false,
413
417
  muted: true
414
418
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
419
+ pauseWhenBuffering: true,
415
420
  startFrom: startVideoFrom,
416
421
  src: videoUrl,
417
422
  muted: true,
@@ -487,6 +492,7 @@ var Landscape = function Landscape(_ref3) {
487
492
  muted: false,
488
493
  noBackgroundVideoEffects: noBackgroundVideoEffects
489
494
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
495
+ pauseWhenBuffering: true,
490
496
  startFrom: startVideoFrom,
491
497
  src: noBackgroundVideoUrl,
492
498
  muted: false,
@@ -395,6 +395,7 @@ export var CreatorCollabColdOpenVisual = function CreatorCollabColdOpenVisual(_r
395
395
  filter: mergeFilters(!showVirtual && noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.backgroundDim && firstNoBackgroundVideoUrl ? 'brightness(0.7)' : undefined)
396
396
  }
397
397
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
398
+ pauseWhenBuffering: true,
398
399
  startFrom: startVideoFrom,
399
400
  src: firstVideoFile,
400
401
  muted: false,
@@ -426,6 +427,7 @@ export var CreatorCollabColdOpenVisual = function CreatorCollabColdOpenVisual(_r
426
427
  transparent: true,
427
428
  noBackgroundVideoEffects: noBackgroundVideoEffects
428
429
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
430
+ pauseWhenBuffering: true,
429
431
  startFrom: startVideoFrom,
430
432
  src: firstNoBackgroundVideoUrl,
431
433
  muted: true,
@@ -695,6 +697,7 @@ export var CreatorCollabColdOpenVisual = function CreatorCollabColdOpenVisual(_r
695
697
  backgroundColor: withAlpha(primaryColor || '#0f172a', 0.62)
696
698
  }
697
699
  }, showCollaboratorVideo ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(OffthreadVideo, {
700
+ pauseWhenBuffering: true,
698
701
  startFrom: startSecondVideoFrom,
699
702
  src: secondVideoFile,
700
703
  muted: true,
@@ -285,6 +285,7 @@ export var CreatorCollabConversationSpine = function CreatorCollabConversationSp
285
285
  filter: mergeFilters(!showVirtual && noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.backgroundDim && firstNoBackgroundVideoUrl ? 'brightness(0.7)' : undefined)
286
286
  }
287
287
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
288
+ pauseWhenBuffering: true,
288
289
  startFrom: startVideoFrom,
289
290
  src: firstVideoFile,
290
291
  muted: false,
@@ -316,6 +317,7 @@ export var CreatorCollabConversationSpine = function CreatorCollabConversationSp
316
317
  transparent: true,
317
318
  noBackgroundVideoEffects: noBackgroundVideoEffects
318
319
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
320
+ pauseWhenBuffering: true,
319
321
  startFrom: startVideoFrom,
320
322
  src: firstNoBackgroundVideoUrl,
321
323
  muted: true,
@@ -536,6 +538,7 @@ export var CreatorCollabConversationSpine = function CreatorCollabConversationSp
536
538
  transform: "scale(".concat(previewPulse, ")")
537
539
  }
538
540
  }, secondVideoFile ? /*#__PURE__*/React.createElement(OffthreadVideo, {
541
+ pauseWhenBuffering: true,
539
542
  startFrom: startSecondVideoFrom,
540
543
  src: secondVideoFile,
541
544
  muted: true,
@@ -292,6 +292,7 @@ export var CreatorCollabDocumentaryInset = function CreatorCollabDocumentaryInse
292
292
  filter: mergeFilters(!showVirtual && noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.backgroundDim && firstNoBackgroundVideoUrl ? 'brightness(0.7)' : undefined)
293
293
  }
294
294
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
295
+ pauseWhenBuffering: true,
295
296
  startFrom: startVideoFrom,
296
297
  src: firstVideoFile,
297
298
  muted: false,
@@ -323,6 +324,7 @@ export var CreatorCollabDocumentaryInset = function CreatorCollabDocumentaryInse
323
324
  transparent: true,
324
325
  noBackgroundVideoEffects: noBackgroundVideoEffects
325
326
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
327
+ pauseWhenBuffering: true,
326
328
  startFrom: startVideoFrom,
327
329
  src: firstNoBackgroundVideoUrl,
328
330
  muted: true,
@@ -502,6 +504,7 @@ export var CreatorCollabDocumentaryInset = function CreatorCollabDocumentaryInse
502
504
  backgroundColor: withAlpha(primaryColor || '#0f172a', 0.64)
503
505
  }
504
506
  }, hasCollaboratorVideo ? /*#__PURE__*/React.createElement(OffthreadVideo, {
507
+ pauseWhenBuffering: true,
505
508
  startFrom: startSecondVideoFrom,
506
509
  src: secondVideoFile,
507
510
  muted: true,
@@ -299,6 +299,7 @@ export var CreatorCollabRackFocus = function CreatorCollabRackFocus(_ref) {
299
299
  filter: mergeFilters(!showVirtual && noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.backgroundDim && firstNoBackgroundVideoUrl ? 'brightness(0.7)' : undefined)
300
300
  }
301
301
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
302
+ pauseWhenBuffering: true,
302
303
  startFrom: startVideoFrom,
303
304
  src: firstVideoFile,
304
305
  muted: false,
@@ -330,6 +331,7 @@ export var CreatorCollabRackFocus = function CreatorCollabRackFocus(_ref) {
330
331
  transparent: true,
331
332
  noBackgroundVideoEffects: noBackgroundVideoEffects
332
333
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
334
+ pauseWhenBuffering: true,
333
335
  startFrom: startVideoFrom,
334
336
  src: firstNoBackgroundVideoUrl,
335
337
  muted: true,
@@ -382,6 +384,7 @@ export var CreatorCollabRackFocus = function CreatorCollabRackFocus(_ref) {
382
384
  backgroundColor: withAlpha(primaryColor || '#0f172a', 0.65)
383
385
  }
384
386
  }, hasCollaboratorVideo ? /*#__PURE__*/React.createElement(OffthreadVideo, {
387
+ pauseWhenBuffering: true,
385
388
  startFrom: startSecondVideoFrom,
386
389
  src: secondVideoFile,
387
390
  muted: true,
@@ -381,6 +381,7 @@ export var CreatorCollabSplit = function CreatorCollabSplit(_ref) {
381
381
  filter: mergeFilters(!showVirtual && noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.backgroundDim && firstNoBackgroundVideoUrl ? "brightness(0.7)" : undefined)
382
382
  }
383
383
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
384
+ pauseWhenBuffering: true,
384
385
  startFrom: startVideoFrom,
385
386
  src: firstVideoFile,
386
387
  muted: false,
@@ -412,6 +413,7 @@ export var CreatorCollabSplit = function CreatorCollabSplit(_ref) {
412
413
  transparent: true,
413
414
  noBackgroundVideoEffects: noBackgroundVideoEffects
414
415
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
416
+ pauseWhenBuffering: true,
415
417
  startFrom: startVideoFrom,
416
418
  src: firstNoBackgroundVideoUrl,
417
419
  muted: true,
@@ -601,6 +603,7 @@ export var CreatorCollabSplit = function CreatorCollabSplit(_ref) {
601
603
  position: "relative"
602
604
  }
603
605
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
606
+ pauseWhenBuffering: true,
604
607
  startFrom: startSecondVideoFrom,
605
608
  src: secondVideoFile,
606
609
  muted: true,
@@ -723,6 +726,7 @@ export var CreatorCollabSplit = function CreatorCollabSplit(_ref) {
723
726
  filter: collaboratorActive ? activeFilter : inactiveFilter
724
727
  }
725
728
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
729
+ pauseWhenBuffering: true,
726
730
  startFrom: startSecondVideoFrom,
727
731
  src: secondVideoFile,
728
732
  muted: true,
@@ -907,6 +911,7 @@ export var CreatorCollabSplit = function CreatorCollabSplit(_ref) {
907
911
  filter: collaboratorActive ? activeFilter : inactiveFilter
908
912
  }
909
913
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
914
+ pauseWhenBuffering: true,
910
915
  startFrom: startSecondVideoFrom,
911
916
  src: secondVideoFile,
912
917
  muted: true,
@@ -284,6 +284,7 @@ export var CreatorCollabStudioSet = function CreatorCollabStudioSet(_ref) {
284
284
  filter: mergeFilters(!showVirtual && noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.backgroundDim && firstNoBackgroundVideoUrl ? 'brightness(0.7)' : undefined)
285
285
  }
286
286
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
287
+ pauseWhenBuffering: true,
287
288
  startFrom: startVideoFrom,
288
289
  src: firstVideoFile,
289
290
  muted: false,
@@ -315,6 +316,7 @@ export var CreatorCollabStudioSet = function CreatorCollabStudioSet(_ref) {
315
316
  transparent: true,
316
317
  noBackgroundVideoEffects: noBackgroundVideoEffects
317
318
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
319
+ pauseWhenBuffering: true,
318
320
  startFrom: startVideoFrom,
319
321
  src: firstNoBackgroundVideoUrl,
320
322
  muted: true,
@@ -396,6 +398,7 @@ export var CreatorCollabStudioSet = function CreatorCollabStudioSet(_ref) {
396
398
  transparent: true,
397
399
  noBackgroundVideoEffects: noBackgroundVideoEffects
398
400
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
401
+ pauseWhenBuffering: true,
399
402
  startFrom: startVideoFrom,
400
403
  src: firstNoBackgroundVideoUrl,
401
404
  muted: true,
@@ -503,6 +506,7 @@ export var CreatorCollabStudioSet = function CreatorCollabStudioSet(_ref) {
503
506
  boxShadow: collaboratorActive ? "0 20px 44px rgba(0, 0, 0, 0.42), 0 0 0 1px ".concat(withAlpha(accent, 0.42)) : '0 18px 40px rgba(0, 0, 0, 0.4)'
504
507
  }
505
508
  }, secondVideoFile ? /*#__PURE__*/React.createElement(OffthreadVideo, {
509
+ pauseWhenBuffering: true,
506
510
  startFrom: startSecondVideoFrom,
507
511
  src: secondVideoFile,
508
512
  muted: true,
@@ -395,6 +395,7 @@ export var DynamicTriangle = function DynamicTriangle(_ref) {
395
395
  zIndex: -1
396
396
  }
397
397
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
398
+ pauseWhenBuffering: true,
398
399
  style: {
399
400
  width: width,
400
401
  height: height,
@@ -516,6 +517,7 @@ export var DynamicTriangle = function DynamicTriangle(_ref) {
516
517
  filter: !showVirtual && noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.backgroundDim && noBackgroundVideoUrl ? "brightness(0.7)" : undefined
517
518
  }
518
519
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
520
+ pauseWhenBuffering: true,
519
521
  startFrom: startVideoFrom,
520
522
  src: videoUrl,
521
523
  muted: muted,
@@ -611,6 +613,7 @@ export var DynamicTriangle = function DynamicTriangle(_ref) {
611
613
  filter: noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.facePop ? "brightness(1.1) contrast(1.15) saturate(1.05)" : undefined
612
614
  }
613
615
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
616
+ pauseWhenBuffering: true,
614
617
  startFrom: startVideoFrom,
615
618
  src: noBackgroundVideoUrl,
616
619
  muted: true,
@@ -124,6 +124,7 @@ export var Handoff = function Handoff(_ref) {
124
124
  containerHeight: firstRenderVideoHeight,
125
125
  useAveragePosition: true
126
126
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
127
+ pauseWhenBuffering: true,
127
128
  startFrom: startFirstVideoFrom,
128
129
  src: firstVideoFile,
129
130
  style: {
@@ -148,6 +149,7 @@ export var Handoff = function Handoff(_ref) {
148
149
  containerHeight: secondRenderVideoHeight,
149
150
  useAveragePosition: true
150
151
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
152
+ pauseWhenBuffering: true,
151
153
  startFrom: startSecondVideoFrom,
152
154
  src: secondVideoFile,
153
155
  style: {
@@ -335,6 +335,7 @@ var Landscape = function Landscape(_ref) {
335
335
  useAveragePosition: true,
336
336
  centerHorizontally: false
337
337
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
338
+ pauseWhenBuffering: true,
338
339
  src: videoUrl,
339
340
  startFrom: startVideoFrom,
340
341
  muted: muted,
@@ -395,6 +396,7 @@ var Landscape = function Landscape(_ref) {
395
396
  transform: "translateX(".concat(animatedVideoLeft, "px)")
396
397
  }
397
398
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
399
+ pauseWhenBuffering: true,
398
400
  src: noBackgroundVideoUrl,
399
401
  startFrom: startVideoFrom,
400
402
  muted: true,
@@ -740,6 +742,7 @@ var Portrait = function Portrait(_ref2) {
740
742
  useAveragePosition: true,
741
743
  centerHorizontally: false
742
744
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
745
+ pauseWhenBuffering: true,
743
746
  src: videoUrl,
744
747
  startFrom: startVideoFrom,
745
748
  muted: muted,
@@ -801,6 +804,7 @@ var Portrait = function Portrait(_ref2) {
801
804
  height: "".concat(animatedVideoHeight, "px")
802
805
  }
803
806
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
807
+ pauseWhenBuffering: true,
804
808
  src: noBackgroundVideoUrl,
805
809
  startFrom: startVideoFrom,
806
810
  muted: true,
@@ -1149,6 +1153,7 @@ var Square = function Square(_ref3) {
1149
1153
  useAveragePosition: true,
1150
1154
  centerHorizontally: false
1151
1155
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
1156
+ pauseWhenBuffering: true,
1152
1157
  src: videoUrl,
1153
1158
  startFrom: startVideoFrom,
1154
1159
  muted: muted,
@@ -1204,6 +1209,7 @@ var Square = function Square(_ref3) {
1204
1209
  transform: "translateX(".concat(animatedVideoTranslateX, "px)")
1205
1210
  }
1206
1211
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
1212
+ pauseWhenBuffering: true,
1207
1213
  src: noBackgroundVideoUrl,
1208
1214
  startFrom: startVideoFrom,
1209
1215
  muted: true,
@@ -102,6 +102,7 @@ var KeyPointOverlayDepthComponent = function KeyPointOverlayDepthComponent(_ref)
102
102
  width: "100%"
103
103
  }
104
104
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
105
+ pauseWhenBuffering: true,
105
106
  startFrom: startVideoFrom,
106
107
  src: videoUrl,
107
108
  muted: true,
@@ -228,6 +229,7 @@ var KeyPointOverlayDepthComponent = function KeyPointOverlayDepthComponent(_ref)
228
229
  width: "100%"
229
230
  }
230
231
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
232
+ pauseWhenBuffering: true,
231
233
  startFrom: startVideoFrom,
232
234
  src: noBackgroundVideoUrl,
233
235
  muted: false,
@@ -264,6 +266,7 @@ var KeyPointOverlayDepthComponent = function KeyPointOverlayDepthComponent(_ref)
264
266
  width: "100%"
265
267
  }
266
268
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
269
+ pauseWhenBuffering: true,
267
270
  startFrom: startVideoFrom,
268
271
  src: noBackgroundVideoUrl,
269
272
  muted: false,
@@ -350,6 +350,7 @@ var KeywordComponent = function KeywordComponent(_ref4) {
350
350
  zIndex: 2
351
351
  }
352
352
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
353
+ pauseWhenBuffering: true,
353
354
  style: {
354
355
  objectFit: "cover",
355
356
  width: "100%",
@@ -385,6 +386,7 @@ var KeywordComponent = function KeywordComponent(_ref4) {
385
386
  useObjectPosition: isPortrait,
386
387
  centerHorizontally: isPortrait
387
388
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
389
+ pauseWhenBuffering: true,
388
390
  startFrom: startVideoFrom,
389
391
  src: videoUrl,
390
392
  muted: muted,
@@ -430,6 +432,7 @@ var KeywordComponent = function KeywordComponent(_ref4) {
430
432
  zIndex: 2
431
433
  }
432
434
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
435
+ pauseWhenBuffering: true,
433
436
  style: {
434
437
  objectFit: "cover",
435
438
  width: "100%",
@@ -490,6 +493,7 @@ var KeywordComponent = function KeywordComponent(_ref4) {
490
493
  zIndex: 2
491
494
  }
492
495
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
496
+ pauseWhenBuffering: true,
493
497
  style: {
494
498
  objectFit: "cover",
495
499
  width: "100%",
@@ -507,6 +511,7 @@ var KeywordComponent = function KeywordComponent(_ref4) {
507
511
  overflow: "hidden"
508
512
  }
509
513
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
514
+ pauseWhenBuffering: true,
510
515
  startFrom: startVideoFrom,
511
516
  src: noBackgroundVideoUrl,
512
517
  muted: true,
@@ -505,6 +505,7 @@ var BackdropFrame = function BackdropFrame(_ref5) {
505
505
  useAveragePosition: true,
506
506
  centerHorizontally: false
507
507
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
508
+ pauseWhenBuffering: true,
508
509
  startFrom: startVideoFrom,
509
510
  src: videoUrl,
510
511
  muted: true,
@@ -537,6 +538,7 @@ var BackdropFrame = function BackdropFrame(_ref5) {
537
538
  WebkitBackdropFilter: "blur(1.5px)"
538
539
  }
539
540
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
541
+ pauseWhenBuffering: true,
540
542
  style: {
541
543
  objectFit: "cover",
542
544
  width: "100%",
@@ -583,6 +585,7 @@ var BackdropFrame = function BackdropFrame(_ref5) {
583
585
  centerHorizontally: false,
584
586
  noBackgroundVideoEffects: noBackgroundVideoEffects
585
587
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
588
+ pauseWhenBuffering: true,
586
589
  startFrom: startVideoFrom,
587
590
  src: noBackgroundVideoUrl,
588
591
  muted: false,
@@ -266,6 +266,7 @@ var MotionStillComponent = function MotionStillComponent(_ref3) {
266
266
  filter: !showVirtual && noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.backgroundDim && noBackgroundVideoUrl ? "brightness(0.7)" : undefined
267
267
  }
268
268
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
269
+ pauseWhenBuffering: true,
269
270
  startFrom: startVideoFrom,
270
271
  src: videoUrl,
271
272
  muted: muted,
@@ -341,6 +342,7 @@ var MotionStillComponent = function MotionStillComponent(_ref3) {
341
342
  overflow: "hidden"
342
343
  }
343
344
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
345
+ pauseWhenBuffering: true,
344
346
  startFrom: startVideoFrom,
345
347
  src: noBackgroundVideoUrl,
346
348
  muted: true,
@@ -73,6 +73,7 @@ export var MotionStillFullScreen = function MotionStillFullScreen(_ref) {
73
73
  useAveragePosition: true,
74
74
  centerHorizontally: false
75
75
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
76
+ pauseWhenBuffering: true,
76
77
  startFrom: startVideoFrom,
77
78
  src: videoUrl,
78
79
  muted: muted,
@@ -127,6 +128,7 @@ export var MotionStillFullScreen = function MotionStillFullScreen(_ref) {
127
128
  height: "100%"
128
129
  }
129
130
  }, /*#__PURE__*/React.createElement(OffthreadVideo, {
131
+ pauseWhenBuffering: true,
130
132
  startFrom: startVideoFrom,
131
133
  src: noBackgroundVideoUrl,
132
134
  muted: true,
@@ -87,6 +87,7 @@ var Square = function Square(_ref) {
87
87
  centerHorizontally: false,
88
88
  noBackgroundVideoEffects: noBackgroundVideoEffects
89
89
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
90
+ pauseWhenBuffering: true,
90
91
  startFrom: startVideoFrom,
91
92
  src: noBackgroundVideoUrl,
92
93
  muted: muted,
@@ -118,6 +119,7 @@ var Square = function Square(_ref) {
118
119
  useAveragePosition: true,
119
120
  centerHorizontally: false
120
121
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
122
+ pauseWhenBuffering: true,
121
123
  startFrom: startVideoFrom,
122
124
  src: videoUrl,
123
125
  muted: true,
@@ -239,6 +241,7 @@ var Portrait = function Portrait(_ref2) {
239
241
  centerHorizontally: false,
240
242
  noBackgroundVideoEffects: noBackgroundVideoEffects
241
243
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
244
+ pauseWhenBuffering: true,
242
245
  startFrom: startVideoFrom,
243
246
  src: noBackgroundVideoUrl,
244
247
  muted: muted,
@@ -272,6 +275,7 @@ var Portrait = function Portrait(_ref2) {
272
275
  useAveragePosition: true,
273
276
  centerHorizontally: false
274
277
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
278
+ pauseWhenBuffering: true,
275
279
  startFrom: startVideoFrom,
276
280
  src: videoUrl,
277
281
  muted: true,
@@ -378,6 +382,7 @@ var Landscape = function Landscape(_ref3) {
378
382
  centerHorizontally: false,
379
383
  transparent: true
380
384
  }) : /*#__PURE__*/React.createElement(OffthreadVideo, {
385
+ pauseWhenBuffering: true,
381
386
  startFrom: startVideoFrom,
382
387
  src: noBackgroundVideoUrl,
383
388
  muted: muted,