{"record":{"id":"51ad327185cba00f","repo":"remotion-dev/remotion","slug":"acceptabletimeshift-has-been-removed-use-acceptab","errorCode":null,"errorMessage":"acceptableTimeShift has been removed. Use acceptableTimeShiftInSeconds instead.","messagePattern":"acceptableTimeShift has been removed\\. Use acceptableTimeShiftInSeconds instead\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/core/src/video/VideoForPreview.tsx","lineNumber":143,"sourceCode":"\n\tconst _propsValid: IsExact<typeof nativeProps, Expected> = true;\n\n\tif (!_propsValid) {\n\t\tthrow new Error('typecheck error');\n\t}\n\n\tconst volumePropFrame = useFrameForVolumeProp(\n\t\tloopVolumeCurveBehavior ?? 'repeat',\n\t);\n\tconst {fps, durationInFrames} = useVideoConfig();\n\tconst parentSequence = useContext(SequenceContext);\n\tconst logLevel = useLogLevel();\n\tconst mountTime = useMountTime();\n\n\tconst [timelineId] = useState(() => String(Math.random()));\n\n\tif (typeof acceptableTimeShift !== 'undefined') {\n\t\tthrow new Error(\n\t\t\t'acceptableTimeShift has been removed. Use acceptableTimeShiftInSeconds instead.',\n\t\t);\n\t}\n\n\tconst [mediaVolume] = useMediaVolumeState();\n\tconst [playerMuted] = usePlayerMutedState();\n\n\tconst userPreferredVolume = evaluateVolume({\n\t\tframe: volumePropFrame,\n\t\tvolume,\n\t\tmediaVolume,\n\t});\n\n\twarnAboutTooHighVolume(userPreferredVolume);\n\n\tconst getStack = useCallback(() => {\n\t\treturn _remotionInternalStack ?? null;\n\t}, [_remotionInternalStack]);","sourceCodeStart":125,"sourceCodeEnd":161,"githubUrl":"https://github.com/remotion-dev/remotion/blob/78fe4bb3fdb5a2cd68724393d63cb223db333fa7/packages/core/src/video/VideoForPreview.tsx#L125-L161","documentation":"The `acceptableTimeShift` prop (in seconds-implicit units) was renamed to `acceptableTimeShiftInSeconds` for clarity. `<Video>` (preview path) throws on first render if the old prop is present to force the migration.","triggerScenarios":"Passing `acceptableTimeShift={...}` to `<Video>` or `<OffthreadVideo>` after upgrading Remotion.","commonSituations":"Upgrading Remotion across the version that renamed the prop, or using stale example code.","solutions":["Rename the prop: `acceptableTimeShift` -> `acceptableTimeShiftInSeconds`.","Search the codebase for `acceptableTimeShift=` (without `InSeconds`) and update all sites.","Remove the prop if the default tolerance is acceptable."],"exampleFix":"// before\n<Video src={url} acceptableTimeShift={0.1} />\n// after\n<Video src={url} acceptableTimeShiftInSeconds={0.1} />","handlingStrategy":"validation","validationCode":"// Codemod rename: acceptableTimeShift -> acceptableTimeShiftInSeconds","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Search the codebase for the old prop name after Remotion upgrades.","Subscribe to release notes for renamed props.","Maintain an upgrade checklist for major versions."],"tags":["video","deprecation","migration","breaking-change","props"],"backgroundTag":null,"analyzedSha":"78fe4bb3fdb5a2cd68724393d63cb223db333fa7","analyzedAt":"2026-08-12T17:18:50.444Z","schemaVersion":2},"datasetVersion":"2026-08-12T18:17:37.767Z"}