decord/alpha/source/modules/media/VideoActionCreators.tsx

18 lines
567 B
TypeScript
Raw Normal View History

2026-10-09 10:00:15 +00:00
// Module ID: 17619
// Function ID: 17620
// Name: VideoActionCreators
2026-10-03 08:58:59 +00:00
// Dependencies: [584, 2]
2026-07-20 16:05:17 +00:00
// Exports: updateVideoSize
2026-10-09 10:00:15 +00:00
// Module 17619 (VideoActionCreators)
2026-10-03 08:58:59 +00:00
import DispatcherDefault from "Dispatcher" /* 584 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
const result = size.fileFinishedImporting("modules/media/VideoActionCreators.tsx");
2026-07-20 16:05:17 +00:00
2026-10-03 08:58:59 +00:00
export const updateVideoSize = function updateVideoSize(streamId, size, scale) {
const obj = DispatcherDefault;
const obj2 = { type: "VIDEO_SIZE_UPDATE", streamId, dimensions: size, zoom: scale };
obj.dispatch(obj2);
2026-07-20 16:05:17 +00:00
};