🎥 Make videos programmatically with React
changelog + test
Jonny Burger63363bf4560a
diff --git a/packages/docs/docs/4-0-migration.md b/packages/docs/docs/4-0-migration.mdindex 349c4b9f5c..d40121f055 100644--- a/packages/docs/docs/4-0-migration.md+++ b/packages/docs/docs/4-0-migration.md@@ -125,3 +125,5 @@ const tangent = getTangentAtLength(parts[0], length / 2);## `onBucketEnsured` option has been removedThe `onBucketEnsured()` option of [`getOrCreateBucket`](/docs/lambda/getorcreatebucket) has been removed because creating the bucket is the only operation of `getOrCreateBucket()`. Therefore, you can just await the function itself.++## `imageFormat` removed from `<OffthreadVideo>`diff --git a/packages/renderer/src/test/offthread-extract-url.test.ts b/packages/renderer/src/test/offthread-extract-url.test.tsindex eb3d11e6cf..d2b3624b80 100644--- a/packages/renderer/src/test/offthread-extract-url.test.ts+++ b/packages/renderer/src/test/offthread-extract-url.test.ts@@ -4,11 +4,10 @@ import {extractUrlAndSourceFromUrl} from '../offthread-video-server';test('Extract URL correctly', () => {expect(extractUrlAndSourceFromUrl(- '/proxy?src=http%3A%2F%2Flocalhost%3A3000%2Fpublic%2Fframermp4withoutfileextension&time=1.3&imageFormat=png'+ '/proxy?src=http%3A%2F%2Flocalhost%3A3000%2Fpublic%2Fframermp4withoutfileextension&time=1.3')).toEqual({src: 'http://localhost:3000/public/framermp4withoutfileextension',time: 1.3,- imageFormat: 'png',});});