@zync/zync-screnplay-player 0.1.245 → 0.1.247
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.js +1 -1
- package/dist/screenplay/RemotionRenderer/components/LottieAnimationGlobal.js +21 -21
- package/dist/screenplay/RemotionRenderer/components/layouts/BrollGreenScreen.js +46 -44
- package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabColdOpenVisual.js +3 -6
- package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabConversationSpine.js +3 -6
- package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabDocumentaryInset.js +3 -6
- package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabRackFocus.js +3 -6
- package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabSplit.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabStudioSet.js +3 -6
- package/dist/screenplay/RemotionRenderer/components/layouts/DynamicTriangle.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/HookVideo.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/IntroVideo.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/KeyPointOverlayDepth.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/Keyword.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/KeywordStudioBackdrop.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/MotionStill.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/layouts/TextWithVideo.js +2 -3
- package/dist/screenplay/RemotionRenderer/components/utils/FaceCenteredVideo.js +66 -57
- package/dist/screenplay/RemotionRenderer/components/utils/PausableImg.js +4 -4
- package/dist/screenplay/RemotionRenderer/components/utils/README.md +80 -80
- package/dist/screenplay/RemotionRenderer/components/utils/StretchTextDemo.js +3 -3
- package/dist/screenplay/RemotionRenderer/development.js +1627 -924
- package/dist/screenplay/RemotionRenderer/fontRegistry.js +422 -0
- package/dist/screenplay/RemotionRenderer/helpers/convertToSeconds.js +8 -8
- package/dist/screenplay/RemotionRenderer/helpers/faceBasedVideoStyles.js +4 -4
- package/dist/screenplay/RemotionRenderer/helpers/faceCenteredVideoTransforms.js +46 -46
- package/dist/screenplay/RemotionRenderer/main/screenplaySchema.js +51 -51
- package/dist/screenplay/RemotionRenderer/registeredComponents.js +2 -2
- package/dist/screenplay/RemotionRenderer/theme/themes/bigbold/BigBoldNameTag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/bigbold/BigBoldSentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/bigbold/BigBoldTitle.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/boxwipe/Nametag.js +2 -6
- package/dist/screenplay/RemotionRenderer/theme/themes/centerline/Nametag.js +2 -6
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionColor.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionColorInverse.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionColorShadow.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionElegant.js +3 -6
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionEmphasis.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionPunctuated.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionWordBoom.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionWordBubble.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/CaptionWordPopup.js +3 -6
- package/dist/screenplay/RemotionRenderer/theme/themes/default/DefaultCaption.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/HandoffNametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/Nametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/Sentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/default/Title.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/fullcover/TextFullCover.js +2 -6
- package/dist/screenplay/RemotionRenderer/theme/themes/glassmorphism/Nametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/glassmorphism/Sentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/glassmorphism/Title.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/glitch/GlitchNametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/glitch/GlitchSentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/glitch/GlitchTitle.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/pushpull/PushPullNametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/pushpull/PushPullSentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/pushpull/PushPullTitle.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/rightslide/Nametag.js +2 -6
- package/dist/screenplay/RemotionRenderer/theme/themes/sports/Nametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/sports/SportsCaption.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/sports/SportsSentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/sports/Title.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/sportsbounce/Nametag.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/sportsbounce/SportsBounceSentence.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/sportsbounce/Title.js +2 -3
- package/dist/screenplay/RemotionRenderer/theme/themes/stackfill/Nametag.js +2 -6
- package/dist/screenplay/RemotionRenderer/tracks/DynamicVideoComposition.js +2 -0
- package/dist/screenplay/RemotionRenderer/tracks/LayoutVideoTrack.js +20 -20
- package/package.json +49 -49
|
@@ -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,
|
|
@@ -73,14 +73,7 @@ var Square = function Square(_ref) {
|
|
|
73
73
|
left: mainVideoLeftTransition,
|
|
74
74
|
zIndex: 2
|
|
75
75
|
}
|
|
76
|
-
},
|
|
77
|
-
url: virtualBgUrl,
|
|
78
|
-
top: 0,
|
|
79
|
-
left: 0,
|
|
80
|
-
width: "100%",
|
|
81
|
-
height: "100%",
|
|
82
|
-
zIndex: 2
|
|
83
|
-
}) : null, faceMetadata ? /*#__PURE__*/React.createElement(FaceCenteredVideo, {
|
|
76
|
+
}, faceMetadata ? /*#__PURE__*/React.createElement(FaceCenteredVideo, {
|
|
84
77
|
startFrom: startVideoFrom,
|
|
85
78
|
src: noBackgroundVideoUrl,
|
|
86
79
|
faceMetadata: faceMetadata,
|
|
@@ -88,6 +81,8 @@ var Square = function Square(_ref) {
|
|
|
88
81
|
containerHeight: mainVideoHeightTransition,
|
|
89
82
|
useAveragePosition: true,
|
|
90
83
|
centerHorizontally: true,
|
|
84
|
+
translateY: 100,
|
|
85
|
+
anchorToBottom: true,
|
|
91
86
|
transparent: true
|
|
92
87
|
}) : /*#__PURE__*/React.createElement(OffthreadVideo, {
|
|
93
88
|
pauseWhenBuffering: true,
|
|
@@ -111,7 +106,14 @@ var Square = function Square(_ref) {
|
|
|
111
106
|
left: mainVideoLeftTransition,
|
|
112
107
|
zIndex: 0
|
|
113
108
|
}
|
|
114
|
-
},
|
|
109
|
+
}, showVirtual && virtualBgUrl ? /*#__PURE__*/React.createElement(VirtualBackgroundUnderlay, {
|
|
110
|
+
url: virtualBgUrl,
|
|
111
|
+
top: 0,
|
|
112
|
+
left: 0,
|
|
113
|
+
width: "100%",
|
|
114
|
+
height: "100%",
|
|
115
|
+
zIndex: 0
|
|
116
|
+
}) : faceMetadata ? /*#__PURE__*/React.createElement(FaceCenteredVideo, {
|
|
115
117
|
startFrom: startVideoFrom,
|
|
116
118
|
src: videoUrl,
|
|
117
119
|
transparent: false,
|
|
@@ -120,6 +122,8 @@ var Square = function Square(_ref) {
|
|
|
120
122
|
containerHeight: mainVideoHeightTransition,
|
|
121
123
|
useAveragePosition: true,
|
|
122
124
|
centerHorizontally: true,
|
|
125
|
+
translateY: 100,
|
|
126
|
+
anchorToBottom: true,
|
|
123
127
|
muted: true,
|
|
124
128
|
style: {
|
|
125
129
|
zIndex: 0,
|
|
@@ -162,6 +166,8 @@ var Square = function Square(_ref) {
|
|
|
162
166
|
faceMetadata: faceMetadata,
|
|
163
167
|
useAveragePosition: true,
|
|
164
168
|
centerHorizontally: true,
|
|
169
|
+
translateY: 100,
|
|
170
|
+
anchorToBottom: true,
|
|
165
171
|
noBackgroundVideoEffects: noBackgroundVideoEffects,
|
|
166
172
|
transparent: true,
|
|
167
173
|
muted: true
|
|
@@ -182,14 +188,12 @@ var Square = function Square(_ref) {
|
|
|
182
188
|
muted: true,
|
|
183
189
|
transparent: true,
|
|
184
190
|
style: {
|
|
185
|
-
position: "relative",
|
|
186
|
-
top: "50%",
|
|
187
191
|
objectFit: "cover",
|
|
188
|
-
|
|
189
|
-
|
|
192
|
+
height: "100%",
|
|
193
|
+
width: "100%",
|
|
194
|
+
objectPosition: sourceVideoOrientation === "portrait" ? "0% 30%" : undefined,
|
|
190
195
|
borderRadius: "30px",
|
|
191
|
-
filter: noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.facePop ? "brightness(1.1) contrast(1.15) saturate(1.05)" : undefined
|
|
192
|
-
transform: "translateY(-50%)"
|
|
196
|
+
filter: noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.facePop ? "brightness(1.1) contrast(1.15) saturate(1.05)" : undefined
|
|
193
197
|
}
|
|
194
198
|
})) : null, /*#__PURE__*/React.createElement(AbsoluteFill, {
|
|
195
199
|
style: {
|
|
@@ -282,15 +286,7 @@ var Portrait = function Portrait(_ref2) {
|
|
|
282
286
|
left: mainVideoLeftTransition,
|
|
283
287
|
zIndex: 2
|
|
284
288
|
}
|
|
285
|
-
},
|
|
286
|
-
url: virtualBgUrl,
|
|
287
|
-
top: 0,
|
|
288
|
-
left: 0,
|
|
289
|
-
width: "100%",
|
|
290
|
-
height: "100%",
|
|
291
|
-
borderRadius: "20px",
|
|
292
|
-
zIndex: 2
|
|
293
|
-
}) : null, faceMetadata ? /*#__PURE__*/React.createElement(FaceCenteredVideo, {
|
|
289
|
+
}, faceMetadata ? /*#__PURE__*/React.createElement(FaceCenteredVideo, {
|
|
294
290
|
startFrom: startVideoFrom,
|
|
295
291
|
src: noBackgroundVideoUrl,
|
|
296
292
|
faceMetadata: faceMetadata,
|
|
@@ -298,6 +294,8 @@ var Portrait = function Portrait(_ref2) {
|
|
|
298
294
|
containerHeight: mainVideoHeightTransition,
|
|
299
295
|
useAveragePosition: true,
|
|
300
296
|
centerHorizontally: false,
|
|
297
|
+
translateY: 100,
|
|
298
|
+
anchorToBottom: true,
|
|
301
299
|
transparent: true
|
|
302
300
|
}) : /*#__PURE__*/React.createElement(OffthreadVideo, {
|
|
303
301
|
pauseWhenBuffering: true,
|
|
@@ -323,7 +321,15 @@ var Portrait = function Portrait(_ref2) {
|
|
|
323
321
|
transform: "scale(1)",
|
|
324
322
|
zIndex: 0
|
|
325
323
|
}
|
|
326
|
-
},
|
|
324
|
+
}, showVirtual && virtualBgUrl ? /*#__PURE__*/React.createElement(VirtualBackgroundUnderlay, {
|
|
325
|
+
url: virtualBgUrl,
|
|
326
|
+
top: 0,
|
|
327
|
+
left: 0,
|
|
328
|
+
width: "100%",
|
|
329
|
+
height: "100%",
|
|
330
|
+
borderRadius: "20px",
|
|
331
|
+
zIndex: 0
|
|
332
|
+
}) : faceMetadata ? /*#__PURE__*/React.createElement(FaceCenteredVideo, {
|
|
327
333
|
startFrom: startVideoFrom,
|
|
328
334
|
src: videoUrl,
|
|
329
335
|
faceMetadata: faceMetadata,
|
|
@@ -331,6 +337,8 @@ var Portrait = function Portrait(_ref2) {
|
|
|
331
337
|
containerHeight: mainVideoHeightTransition,
|
|
332
338
|
noBackgroundVideoEffects: noBackgroundVideoEffects,
|
|
333
339
|
useAveragePosition: true,
|
|
340
|
+
translateY: 100,
|
|
341
|
+
anchorToBottom: true,
|
|
334
342
|
muted: true,
|
|
335
343
|
transparent: false,
|
|
336
344
|
style: {
|
|
@@ -375,6 +383,8 @@ var Portrait = function Portrait(_ref2) {
|
|
|
375
383
|
faceMetadata: faceMetadata,
|
|
376
384
|
useAveragePosition: true,
|
|
377
385
|
centerHorizontally: false,
|
|
386
|
+
translateY: 100,
|
|
387
|
+
anchorToBottom: true,
|
|
378
388
|
noBackgroundVideoEffects: noBackgroundVideoEffects,
|
|
379
389
|
transparent: true,
|
|
380
390
|
muted: true
|
|
@@ -397,14 +407,12 @@ var Portrait = function Portrait(_ref2) {
|
|
|
397
407
|
muted: true,
|
|
398
408
|
transparent: true,
|
|
399
409
|
style: {
|
|
400
|
-
position: "relative",
|
|
401
|
-
width: mainVideoWidthTransition,
|
|
402
|
-
height: mainVideoHeightTransition,
|
|
403
|
-
top: "50%",
|
|
404
410
|
objectFit: "cover",
|
|
411
|
+
height: "100%",
|
|
412
|
+
width: "100%",
|
|
413
|
+
objectPosition: sourceVideoOrientation === "portrait" ? "0% 30%" : undefined,
|
|
405
414
|
borderRadius: "30px",
|
|
406
|
-
filter: noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.facePop ? "brightness(1.1) contrast(1.15) saturate(1.05)" : undefined
|
|
407
|
-
transform: "translateY(-50%)"
|
|
415
|
+
filter: noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.facePop ? "brightness(1.1) contrast(1.15) saturate(1.05)" : undefined
|
|
408
416
|
}
|
|
409
417
|
})) : null, /*#__PURE__*/React.createElement(AbsoluteFill, {
|
|
410
418
|
style: {
|
|
@@ -491,21 +499,15 @@ var Landscape = function Landscape(_ref3) {
|
|
|
491
499
|
left: mainVideoLeftTransition,
|
|
492
500
|
zIndex: 2
|
|
493
501
|
}
|
|
494
|
-
},
|
|
495
|
-
url: virtualBgUrl,
|
|
496
|
-
top: 0,
|
|
497
|
-
left: 0,
|
|
498
|
-
width: "100%",
|
|
499
|
-
height: "100%",
|
|
500
|
-
borderRadius: "20px",
|
|
501
|
-
zIndex: 2
|
|
502
|
-
}) : null, faceMetadata ? /*#__PURE__*/React.createElement(FaceCenteredVideo, {
|
|
502
|
+
}, faceMetadata ? /*#__PURE__*/React.createElement(FaceCenteredVideo, {
|
|
503
503
|
startFrom: startVideoFrom,
|
|
504
504
|
src: noBackgroundVideoUrl,
|
|
505
505
|
faceMetadata: faceMetadata,
|
|
506
506
|
containerWidth: mainVideoWidthTransition,
|
|
507
507
|
containerHeight: mainVideoHeightTransition,
|
|
508
508
|
useAveragePosition: true,
|
|
509
|
+
translateY: 100,
|
|
510
|
+
anchorToBottom: true,
|
|
509
511
|
transparent: true
|
|
510
512
|
}) : /*#__PURE__*/React.createElement(OffthreadVideo, {
|
|
511
513
|
pauseWhenBuffering: true,
|
|
@@ -543,6 +545,8 @@ var Landscape = function Landscape(_ref3) {
|
|
|
543
545
|
faceMetadata: faceMetadata,
|
|
544
546
|
useAveragePosition: true,
|
|
545
547
|
centerHorizontally: false,
|
|
548
|
+
translateY: 100,
|
|
549
|
+
anchorToBottom: true,
|
|
546
550
|
noBackgroundVideoEffects: noBackgroundVideoEffects,
|
|
547
551
|
transparent: true,
|
|
548
552
|
muted: true
|
|
@@ -564,14 +568,12 @@ var Landscape = function Landscape(_ref3) {
|
|
|
564
568
|
muted: true,
|
|
565
569
|
transparent: true,
|
|
566
570
|
style: {
|
|
567
|
-
position: "relative",
|
|
568
|
-
top: "50%",
|
|
569
571
|
height: "100%",
|
|
570
572
|
objectFit: "cover",
|
|
571
573
|
width: "100%",
|
|
574
|
+
objectPosition: sourceVideoOrientation === "portrait" ? "0% 30%" : undefined,
|
|
572
575
|
borderRadius: "30px",
|
|
573
|
-
filter: noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.facePop ? "brightness(1.1) contrast(1.15) saturate(1.05)" : undefined
|
|
574
|
-
transform: "translateY(-50%)"
|
|
576
|
+
filter: noBackgroundVideoEffects !== null && noBackgroundVideoEffects !== void 0 && noBackgroundVideoEffects.facePop ? "brightness(1.1) contrast(1.15) saturate(1.05)" : undefined
|
|
575
577
|
}
|
|
576
578
|
})) : null, /*#__PURE__*/React.createElement(AbsoluteFill, {
|
|
577
579
|
style: {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AbsoluteFill, Easing, interpolate, OffthreadVideo, useCurrentFrame, useVideoConfig } from 'remotion';
|
|
3
|
-
import {
|
|
4
|
-
import { loadFont as loadBodyFont } from '@remotion/google-fonts/Poppins';
|
|
3
|
+
import { FONT_FAMILIES } from '../../fontRegistry.js';
|
|
5
4
|
import { useOrientationBased } from '../../hooks/useOrientationBased.js';
|
|
6
5
|
import { useTheme } from '../../theme/hooks/useTheme.js';
|
|
7
6
|
import { distributeTextToFit } from '../../theme/themes/default/Sentence/SentenceSimple.helpers.js';
|
|
@@ -11,10 +10,8 @@ import { CHROME_PADDING } from '../../config.js';
|
|
|
11
10
|
import { useVirtualBackground } from '../../hooks/useVirtualBackground';
|
|
12
11
|
import { VirtualBackgroundUnderlay } from '../backgrounds/VirtualBackgroundUnderlay';
|
|
13
12
|
import { useSafeZoneInsets } from '../utils/SafeZones';
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
var _loadBodyFont = loadBodyFont(),
|
|
17
|
-
bodyFontFamily = _loadBodyFont.fontFamily;
|
|
13
|
+
var headlineFontFamily = FONT_FAMILIES.OSWALD;
|
|
14
|
+
var bodyFontFamily = FONT_FAMILIES.POPPINS;
|
|
18
15
|
var withAlpha = function withAlpha(color, alpha) {
|
|
19
16
|
if (!color || typeof color !== 'string' || !color.startsWith('#')) {
|
|
20
17
|
return color;
|
package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabConversationSpine.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AbsoluteFill, Easing, interpolate, OffthreadVideo, useCurrentFrame, useVideoConfig } from 'remotion';
|
|
3
|
-
import {
|
|
4
|
-
import { loadFont as loadBodyFont } from '@remotion/google-fonts/Poppins';
|
|
3
|
+
import { FONT_FAMILIES } from '../../fontRegistry.js';
|
|
5
4
|
import { useOrientationBased } from '../../hooks/useOrientationBased.js';
|
|
6
5
|
import { useTheme } from '../../theme/hooks/useTheme.js';
|
|
7
6
|
import { distributeTextToFit } from '../../theme/themes/default/Sentence/SentenceSimple.helpers.js';
|
|
@@ -10,10 +9,8 @@ import { BlurOverlay } from '../utils/BlurOverlay';
|
|
|
10
9
|
import { CHROME_PADDING } from '../../config.js';
|
|
11
10
|
import { useVirtualBackground } from '../../hooks/useVirtualBackground';
|
|
12
11
|
import { VirtualBackgroundUnderlay } from '../backgrounds/VirtualBackgroundUnderlay';
|
|
13
|
-
var
|
|
14
|
-
|
|
15
|
-
var _loadBodyFont = loadBodyFont(),
|
|
16
|
-
bodyFontFamily = _loadBodyFont.fontFamily;
|
|
12
|
+
var headlineFontFamily = FONT_FAMILIES.OSWALD;
|
|
13
|
+
var bodyFontFamily = FONT_FAMILIES.POPPINS;
|
|
17
14
|
var withAlpha = function withAlpha(color, alpha) {
|
|
18
15
|
if (!color || typeof color !== 'string' || !color.startsWith('#')) {
|
|
19
16
|
return color;
|
package/dist/screenplay/RemotionRenderer/components/layouts/CreatorCollabDocumentaryInset.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AbsoluteFill, Easing, interpolate, OffthreadVideo, useCurrentFrame, useVideoConfig } from 'remotion';
|
|
3
|
-
import {
|
|
4
|
-
import { loadFont as loadBodyFont } from '@remotion/google-fonts/Poppins';
|
|
3
|
+
import { FONT_FAMILIES } from '../../fontRegistry.js';
|
|
5
4
|
import { useOrientationBased } from '../../hooks/useOrientationBased.js';
|
|
6
5
|
import { useTheme } from '../../theme/hooks/useTheme.js';
|
|
7
6
|
import { distributeTextToFit } from '../../theme/themes/default/Sentence/SentenceSimple.helpers.js';
|
|
@@ -10,10 +9,8 @@ import { BlurOverlay } from '../utils/BlurOverlay';
|
|
|
10
9
|
import { CHROME_PADDING } from '../../config.js';
|
|
11
10
|
import { useVirtualBackground } from '../../hooks/useVirtualBackground';
|
|
12
11
|
import { VirtualBackgroundUnderlay } from '../backgrounds/VirtualBackgroundUnderlay';
|
|
13
|
-
var
|
|
14
|
-
|
|
15
|
-
var _loadBodyFont = loadBodyFont(),
|
|
16
|
-
bodyFontFamily = _loadBodyFont.fontFamily;
|
|
12
|
+
var headlineFontFamily = FONT_FAMILIES.OSWALD;
|
|
13
|
+
var bodyFontFamily = FONT_FAMILIES.POPPINS;
|
|
17
14
|
var withAlpha = function withAlpha(color, alpha) {
|
|
18
15
|
if (!color || typeof color !== 'string' || !color.startsWith('#')) {
|
|
19
16
|
return color;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AbsoluteFill, Easing, interpolate, OffthreadVideo, useCurrentFrame, useVideoConfig } from 'remotion';
|
|
3
|
-
import {
|
|
4
|
-
import { loadFont as loadBodyFont } from '@remotion/google-fonts/Poppins';
|
|
3
|
+
import { FONT_FAMILIES } from '../../fontRegistry.js';
|
|
5
4
|
import { useOrientationBased } from '../../hooks/useOrientationBased.js';
|
|
6
5
|
import { useTheme } from '../../theme/hooks/useTheme.js';
|
|
7
6
|
import { distributeTextToFit } from '../../theme/themes/default/Sentence/SentenceSimple.helpers.js';
|
|
@@ -10,10 +9,8 @@ import { BlurOverlay } from '../utils/BlurOverlay';
|
|
|
10
9
|
import { CHROME_PADDING } from '../../config.js';
|
|
11
10
|
import { useVirtualBackground } from '../../hooks/useVirtualBackground';
|
|
12
11
|
import { VirtualBackgroundUnderlay } from '../backgrounds/VirtualBackgroundUnderlay';
|
|
13
|
-
var
|
|
14
|
-
|
|
15
|
-
var _loadBodyFont = loadBodyFont(),
|
|
16
|
-
bodyFontFamily = _loadBodyFont.fontFamily;
|
|
12
|
+
var headlineFontFamily = FONT_FAMILIES.OSWALD;
|
|
13
|
+
var bodyFontFamily = FONT_FAMILIES.POPPINS;
|
|
17
14
|
var withAlpha = function withAlpha(color, alpha) {
|
|
18
15
|
if (!color || typeof color !== 'string' || !color.startsWith('#')) {
|
|
19
16
|
return color;
|
|
@@ -6,7 +6,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { AbsoluteFill, Easing, interpolate, OffthreadVideo, useCurrentFrame, useVideoConfig } from "remotion";
|
|
9
|
-
import {
|
|
9
|
+
import { FONT_FAMILIES } from "../../fontRegistry.js";
|
|
10
10
|
import { useOrientationBased } from "../../hooks/useOrientationBased.js";
|
|
11
11
|
import { useTheme } from "../../theme/hooks/useTheme.js";
|
|
12
12
|
import { distributeTextToFit } from "../../theme/themes/default/Sentence/SentenceSimple.helpers.js";
|
|
@@ -15,8 +15,7 @@ import { BlurOverlay } from "../utils/BlurOverlay";
|
|
|
15
15
|
import { CHROME_PADDING } from "../../config.js";
|
|
16
16
|
import { useVirtualBackground } from "../../hooks/useVirtualBackground";
|
|
17
17
|
import { VirtualBackgroundUnderlay } from "../backgrounds/VirtualBackgroundUnderlay";
|
|
18
|
-
var
|
|
19
|
-
fontFamily = _loadFont.fontFamily;
|
|
18
|
+
var fontFamily = FONT_FAMILIES.POPPINS;
|
|
20
19
|
var withAlpha = function withAlpha(color, alpha) {
|
|
21
20
|
if (!color || typeof color !== "string" || !color.startsWith("#")) {
|
|
22
21
|
return color;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AbsoluteFill, Easing, interpolate, OffthreadVideo, useCurrentFrame, useVideoConfig } from 'remotion';
|
|
3
|
-
import {
|
|
4
|
-
import { loadFont as loadBodyFont } from '@remotion/google-fonts/Poppins';
|
|
3
|
+
import { FONT_FAMILIES } from '../../fontRegistry.js';
|
|
5
4
|
import { useOrientationBased } from '../../hooks/useOrientationBased.js';
|
|
6
5
|
import { useTheme } from '../../theme/hooks/useTheme.js';
|
|
7
6
|
import { distributeTextToFit } from '../../theme/themes/default/Sentence/SentenceSimple.helpers.js';
|
|
@@ -10,10 +9,8 @@ import { BlurOverlay } from '../utils/BlurOverlay';
|
|
|
10
9
|
import { CHROME_PADDING } from '../../config.js';
|
|
11
10
|
import { useVirtualBackground } from '../../hooks/useVirtualBackground';
|
|
12
11
|
import { VirtualBackgroundUnderlay } from '../backgrounds/VirtualBackgroundUnderlay';
|
|
13
|
-
var
|
|
14
|
-
|
|
15
|
-
var _loadBodyFont = loadBodyFont(),
|
|
16
|
-
bodyFontFamily = _loadBodyFont.fontFamily;
|
|
12
|
+
var headlineFontFamily = FONT_FAMILIES.OSWALD;
|
|
13
|
+
var bodyFontFamily = FONT_FAMILIES.POPPINS;
|
|
17
14
|
var withAlpha = function withAlpha(color, alpha) {
|
|
18
15
|
if (!color || typeof color !== 'string' || !color.startsWith('#')) {
|
|
19
16
|
return color;
|
|
@@ -3,14 +3,13 @@ import { AbsoluteFill, OffthreadVideo, Audio, useVideoConfig, useCurrentFrame, E
|
|
|
3
3
|
import { useTimeInterpolate } from "../../hooks/useTimeInterpolate.js";
|
|
4
4
|
import { useOrientationBased } from "../../hooks/useOrientationBased.js";
|
|
5
5
|
import { distributeTextToFit } from "../../theme/themes/default/Sentence/SentenceSimple.helpers";
|
|
6
|
-
import {
|
|
6
|
+
import { FONT_FAMILIES } from "../../fontRegistry.js";
|
|
7
7
|
import { useTheme } from "../../theme/hooks/useTheme";
|
|
8
8
|
import { BlurOverlay } from "../utils/BlurOverlay";
|
|
9
9
|
import { useVirtualBackground } from "../../hooks/useVirtualBackground";
|
|
10
10
|
import { VirtualBackgroundUnderlay } from "../backgrounds/VirtualBackgroundUnderlay";
|
|
11
11
|
import FaceCenteredVideo from "../utils/FaceCenteredVideo";
|
|
12
|
-
var
|
|
13
|
-
fontFamily = _loadFont.fontFamily;
|
|
12
|
+
var fontFamily = FONT_FAMILIES.KANIT;
|
|
14
13
|
export var DynamicTriangle = function DynamicTriangle(_ref) {
|
|
15
14
|
var _compositionProps$out, _window, _window$screenplayPro, _window$screenplayPro2;
|
|
16
15
|
var children = _ref.children,
|
|
@@ -6,7 +6,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { AbsoluteFill, Audio, Img, OffthreadVideo, Sequence, interpolate, spring, staticFile, useCurrentFrame, useVideoConfig } from "remotion";
|
|
9
|
-
import {
|
|
9
|
+
import { FONT_FAMILIES } from "../../fontRegistry.js";
|
|
10
10
|
import { CHROME_PADDING } from "../../config.js";
|
|
11
11
|
import { useOrientationBased } from "../../hooks/useOrientationBased.js";
|
|
12
12
|
import { distributeTextToFit } from "../../theme/themes/default/Sentence/SentenceSimple.helpers.js";
|
|
@@ -15,8 +15,7 @@ import FaceCenteredVideo from "../utils/FaceCenteredVideo";
|
|
|
15
15
|
import PausableImg from "../utils/PausableImg";
|
|
16
16
|
import { useVirtualBackground } from "../../hooks/useVirtualBackground";
|
|
17
17
|
import { VirtualBackgroundUnderlay } from "../backgrounds/VirtualBackgroundUnderlay";
|
|
18
|
-
var
|
|
19
|
-
headlineFontFamily = _loadHeadlineFont.fontFamily;
|
|
18
|
+
var headlineFontFamily = FONT_FAMILIES.OSWALD;
|
|
20
19
|
var HOOK_STYLE_PRESETS = {
|
|
21
20
|
punch_zoom: "punch_zoom",
|
|
22
21
|
mono_shock: "mono_shock",
|
|
@@ -7,7 +7,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { AbsoluteFill, Audio, Img, useVideoConfig, spring, useCurrentFrame, useVideoConfig as useVideoConfigForFps, OffthreadVideo } from "remotion";
|
|
9
9
|
import { LottieAnimationGlobal } from "../LottieAnimationGlobal";
|
|
10
|
-
import {
|
|
10
|
+
import { FONT_FAMILIES } from "../../fontRegistry.js";
|
|
11
11
|
import { useOrientationBased } from "../../hooks/useOrientationBased.js";
|
|
12
12
|
import { CHROME_PADDING } from "../../config.js";
|
|
13
13
|
import { distributeTextToFit } from "../../theme/themes/default/Sentence/SentenceSimple.helpers.js";
|
|
@@ -17,8 +17,7 @@ import FaceCenteredVideo from "../utils/FaceCenteredVideo";
|
|
|
17
17
|
import { BlurOverlay } from "../utils/BlurOverlay";
|
|
18
18
|
import { useVirtualBackground } from "../../hooks/useVirtualBackground";
|
|
19
19
|
import { VirtualBackgroundUnderlay } from "../backgrounds/VirtualBackgroundUnderlay";
|
|
20
|
-
var
|
|
21
|
-
fontFamily = _loadFont.fontFamily;
|
|
20
|
+
var fontFamily = FONT_FAMILIES.OSWALD;
|
|
22
21
|
var Landscape = function Landscape(_ref) {
|
|
23
22
|
var children = _ref.children,
|
|
24
23
|
videoUrl = _ref.videoUrl,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { AbsoluteFill, Audio, OffthreadVideo, useVideoConfig, spring, useCurrentFrame, interpolate } from "remotion";
|
|
3
3
|
import StretchText from "../utils/StretchText";
|
|
4
|
-
import {
|
|
4
|
+
import { FONT_FAMILIES } from "../../fontRegistry.js";
|
|
5
5
|
import { useOrientationBased } from "../../hooks/useOrientationBased";
|
|
6
6
|
import { useTheme } from "../../theme/hooks/useTheme";
|
|
7
7
|
import { getBrighterColor } from "../../helpers/hexToRgb";
|
|
@@ -9,8 +9,7 @@ import FaceCenteredVideo from "../utils/FaceCenteredVideo";
|
|
|
9
9
|
import { BlurOverlay } from "../utils/BlurOverlay";
|
|
10
10
|
import { useVirtualBackground } from "../../hooks/useVirtualBackground";
|
|
11
11
|
import { VirtualBackground } from "../backgrounds/VirtualBackground";
|
|
12
|
-
var
|
|
13
|
-
fontFamily = _loadFont.fontFamily;
|
|
12
|
+
var fontFamily = FONT_FAMILIES.POPPINS;
|
|
14
13
|
var KeyPointOverlayDepthComponent = function KeyPointOverlayDepthComponent(_ref) {
|
|
15
14
|
var children = _ref.children,
|
|
16
15
|
startVideoFrom = _ref.startVideoFrom,
|
|
@@ -4,7 +4,7 @@ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object
|
|
|
4
4
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
5
5
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6
6
|
import { AbsoluteFill, Audio, Easing, Img, interpolate, OffthreadVideo, useCurrentFrame, useVideoConfig } from "remotion";
|
|
7
|
-
import {
|
|
7
|
+
import { FONT_FAMILIES } from "../../fontRegistry.js";
|
|
8
8
|
import React from "react";
|
|
9
9
|
import { useOrientationBased } from "../../hooks/useOrientationBased.js";
|
|
10
10
|
import { useTheme } from "../../theme/hooks/useTheme.js";
|
|
@@ -18,8 +18,7 @@ import PausableImg from "../utils/PausableImg";
|
|
|
18
18
|
import { BlurOverlay } from "../utils/BlurOverlay";
|
|
19
19
|
import { useVirtualBackground } from "../../hooks/useVirtualBackground";
|
|
20
20
|
import { VirtualBackgroundUnderlay } from "../backgrounds/VirtualBackgroundUnderlay";
|
|
21
|
-
var
|
|
22
|
-
fontFamily = _loadFont.fontFamily;
|
|
21
|
+
var fontFamily = FONT_FAMILIES.POPPINS;
|
|
23
22
|
var landscapeClipPath = "polygon(0% 0%, 100% 0%, 90% 100%, 0% 100%)";
|
|
24
23
|
var portraitClipPath = "polygon(0 0, 100% 0, 100% 90%, 0% 100%)";
|
|
25
24
|
var squareClipPath = "polygon(0% 0%, 100% 0%, 90% 100%, 0% 100%)";
|
|
@@ -6,7 +6,7 @@ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(
|
|
|
6
6
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { AbsoluteFill, Audio, OffthreadVideo, useCurrentFrame, useVideoConfig, spring, interpolate, Easing } from "remotion";
|
|
9
|
-
import {
|
|
9
|
+
import { FONT_FAMILIES } from "../../fontRegistry.js";
|
|
10
10
|
import { useOrientationBased } from "../../hooks/useOrientationBased.js";
|
|
11
11
|
import { CHROME_PADDING } from "../../config.js";
|
|
12
12
|
import FaceCenteredVideo from "../utils/FaceCenteredVideo";
|
|
@@ -47,8 +47,7 @@ var seededShuffle = function seededShuffle(arr, key) {
|
|
|
47
47
|
}
|
|
48
48
|
return a;
|
|
49
49
|
};
|
|
50
|
-
var
|
|
51
|
-
fontFamily = _loadFont.fontFamily;
|
|
50
|
+
var fontFamily = FONT_FAMILIES.POPPINS;
|
|
52
51
|
|
|
53
52
|
// Reuse the rotating words treatment from Keyword.jsx, but with
|
|
54
53
|
// spring-in + continuous sine/cos drift and better fitting.
|
|
@@ -6,7 +6,7 @@ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object
|
|
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
8
|
import { AbsoluteFill, Audio, Easing, Img, interpolate, OffthreadVideo, useCurrentFrame, useVideoConfig } from "remotion";
|
|
9
|
-
import {
|
|
9
|
+
import { FONT_FAMILIES } from "../../fontRegistry.js";
|
|
10
10
|
import React from "react";
|
|
11
11
|
import { useOrientationBased } from "../../hooks/useOrientationBased.js";
|
|
12
12
|
import { useTheme } from "../../theme/hooks/useTheme.js";
|
|
@@ -19,8 +19,7 @@ import { BlurOverlay } from "../utils/BlurOverlay";
|
|
|
19
19
|
import { useVirtualBackground } from "../../hooks/useVirtualBackground";
|
|
20
20
|
import { VirtualBackground } from "../backgrounds/VirtualBackground";
|
|
21
21
|
import { VirtualBackgroundUnderlay } from "../backgrounds/VirtualBackgroundUnderlay";
|
|
22
|
-
var
|
|
23
|
-
fontFamily = _loadFont.fontFamily;
|
|
22
|
+
var fontFamily = FONT_FAMILIES.POPPINS;
|
|
24
23
|
var landscapeClipPath = "polygon(100% 0%, 100% 100%, 7% 100%, 0 20%, 7% 0)";
|
|
25
24
|
var portraitClipPath = "polygon(100% 0, 100% 95%, 10% 100%, 0 95%, 0% 0%)";
|
|
26
25
|
var squareClipPath = "polygon(94% 0, 100% 14%, 89% 100%, 0% 100%, 0% 0%)";
|
|
@@ -5,7 +5,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
5
5
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { AbsoluteFill, Audio, Easing, OffthreadVideo, useVideoConfig } from "remotion";
|
|
8
|
-
import {
|
|
8
|
+
import { FONT_FAMILIES } from "../../fontRegistry.js";
|
|
9
9
|
import { useOrientationBased } from "../../hooks/useOrientationBased.js";
|
|
10
10
|
import { distributeTextToFit } from "../../theme/themes/default/Sentence/SentenceSimple.helpers.js";
|
|
11
11
|
import { useTheme } from "../../theme/hooks/useTheme.js";
|
|
@@ -17,8 +17,7 @@ import PausableImg from "../utils/PausableImg";
|
|
|
17
17
|
import { BlurOverlay } from "../utils/BlurOverlay";
|
|
18
18
|
import { useVirtualBackground } from "../../hooks/useVirtualBackground";
|
|
19
19
|
import { VirtualBackgroundUnderlay } from "../backgrounds/VirtualBackgroundUnderlay";
|
|
20
|
-
var
|
|
21
|
-
fontFamily = _loadFont.fontFamily;
|
|
20
|
+
var fontFamily = FONT_FAMILIES.POPPINS;
|
|
22
21
|
var adjustTimings = function adjustTimings(timings, adjustment) {
|
|
23
22
|
return timings.map(function (timing) {
|
|
24
23
|
return timing + adjustment;
|