1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.setupInitialFrame = exports.INITIAL_FRAME_LOCAL_STORAGE_KEY = void 0;
|
4 | exports.INITIAL_FRAME_LOCAL_STORAGE_KEY = 'remotion.initialFrame';
|
5 | const getInitialFrame = () => {
|
6 | const param = localStorage.getItem(exports.INITIAL_FRAME_LOCAL_STORAGE_KEY);
|
7 | return param ? Number(param) : 0;
|
8 | };
|
9 | const setupInitialFrame = () => {
|
10 | window.remotion_initialFrame = getInitialFrame();
|
11 | };
|
12 | exports.setupInitialFrame = setupInitialFrame;
|