mirror of
https://github.com/stashapp/stash.git
synced 2026-05-03 20:32:26 +02:00
6 lines
174 B
TypeScript
6 lines
174 B
TypeScript
import videojs from "video.js";
|
|
|
|
export const VIDEO_PLAYER_ID = "VideoJsPlayer";
|
|
|
|
export const getPlayerPosition = () =>
|
|
videojs.getPlayer(VIDEO_PLAYER_ID)?.currentTime();
|