mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
* Code split using react lazy * Split locales * Move to lodash-es * Import individual icons
7 lines
173 B
TypeScript
7 lines
173 B
TypeScript
import VideoJS from "video.js";
|
|
|
|
export const VIDEO_PLAYER_ID = "VideoJsPlayer";
|
|
|
|
export const getPlayerPosition = () =>
|
|
VideoJS.getPlayer(VIDEO_PLAYER_ID).currentTime();
|