mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
React code splitting (#2603)
* Code split using react lazy * Split locales * Move to lodash-es * Import individual icons
This commit is contained in:
6
ui/v2.5/src/components/ScenePlayer/util.ts
Normal file
6
ui/v2.5/src/components/ScenePlayer/util.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import VideoJS from "video.js";
|
||||
|
||||
export const VIDEO_PLAYER_ID = "VideoJsPlayer";
|
||||
|
||||
export const getPlayerPosition = () =>
|
||||
VideoJS.getPlayer(VIDEO_PLAYER_ID).currentTime();
|
||||
Reference in New Issue
Block a user