@remotion/promo-pages 4.0.271 → 4.0.273

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.
@@ -1,8 +1,8 @@
1
1
 
2
2
  
3
- > @remotion/promo-pages@4.0.271 make /Users/jonathanburger/remotion/packages/promo-pages
3
+ > @remotion/promo-pages@4.0.273 make /Users/jonathanburger/remotion/packages/promo-pages
4
4
  > bun --env-file=../.env.bundle bundle.ts
5
5
 
6
6
  ≈ tailwindcss v4.0.0
7
7
 
8
- Done in 30ms
8
+ Done in 32ms
package/dist/Homepage.js CHANGED
@@ -727,7 +727,7 @@ var __defProp2, __export2 = (target, all) => {
727
727
  });
728
728
  }, useIsPlayer = () => {
729
729
  return useContext(IsPlayerContext);
730
- }, VERSION = "4.0.271", checkMultipleRemotionVersions = () => {
730
+ }, VERSION = "4.0.273", checkMultipleRemotionVersions = () => {
731
731
  if (typeof globalThis === "undefined") {
732
732
  return;
733
733
  }
@@ -2796,6 +2796,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
2796
2796
  return { unblock };
2797
2797
  }
2798
2798
  }), [addBlock]);
2799
+ }, isWebkit = () => {
2800
+ const isAppleWebKit = /AppleWebKit/.test(window.navigator.userAgent);
2801
+ return isAppleWebKit;
2799
2802
  }, useBufferUntilFirstFrame = ({
2800
2803
  mediaRef,
2801
2804
  mediaType,
@@ -2817,7 +2820,13 @@ Check that all your Remotion packages are on the same version. If your dependenc
2817
2820
  if (!current) {
2818
2821
  return;
2819
2822
  }
2820
- if (current.readyState >= current.HAVE_ENOUGH_DATA) {
2823
+ playbackLogging({
2824
+ logLevel,
2825
+ message: `Checking if should buffer until first frame, ${current.readyState}`,
2826
+ mountTime,
2827
+ tag: "buffer"
2828
+ });
2829
+ if (current.readyState >= current.HAVE_ENOUGH_DATA && !isWebkit()) {
2821
2830
  return;
2822
2831
  }
2823
2832
  if (!current.requestVideoFrameCallback) {
@@ -3335,7 +3344,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
3335
3344
  mountTime
3336
3345
  });
3337
3346
  lastSeekDueToShift.current = lastSeek.current;
3338
- if (playing && !isVariableFpsVideo) {
3347
+ if (playing) {
3339
3348
  if (playbackRate > 0) {
3340
3349
  bufferUntilFirstFrame(shouldBeTime);
3341
3350
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/promo-pages",
3
- "version": "4.0.271",
3
+ "version": "4.0.273",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -10,14 +10,14 @@
10
10
  "polished": "4.3.1",
11
11
  "vite": "^5.4.12",
12
12
  "zod": "3.22.3",
13
- "@remotion/animated-emoji": "4.0.271",
14
- "@remotion/lottie": "4.0.271",
15
- "@remotion/lambda": "4.0.271",
16
- "@remotion/paths": "4.0.271",
17
- "@remotion/player": "4.0.271",
18
- "@remotion/shapes": "4.0.271",
19
- "remotion": "4.0.271",
20
- "create-video": "4.0.271"
13
+ "@remotion/lottie": "4.0.273",
14
+ "@remotion/animated-emoji": "4.0.273",
15
+ "@remotion/lambda": "4.0.273",
16
+ "@remotion/player": "4.0.273",
17
+ "create-video": "4.0.273",
18
+ "@remotion/paths": "4.0.273",
19
+ "@remotion/shapes": "4.0.273",
20
+ "remotion": "4.0.273"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@eslint/eslintrc": "3.1.0",
@@ -36,7 +36,7 @@
36
36
  "tailwind-merge": "2.5.2",
37
37
  "bun-plugin-tailwind": "0.0.13",
38
38
  "clsx": "2.1.1",
39
- "@remotion/eslint-config-internal": "4.0.271"
39
+ "@remotion/eslint-config-internal": "4.0.273"
40
40
  },
41
41
  "repository": {
42
42
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/promo-pages"