@zync/zync-screnplay-player 0.1.246 → 0.1.248
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/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/fontRegistry.js +423 -0
- package/dist/screenplay/RemotionRenderer/registeredComponents.js +2 -0
- 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/CaptionBold.js +80 -0
- 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/package.json +1 -1
|
@@ -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;
|