mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Add ResizeObserver polyfill for safari (#3142)
This commit is contained in:
@@ -3,4 +3,4 @@ import videojs from "video.js";
|
||||
export const VIDEO_PLAYER_ID = "VideoJsPlayer";
|
||||
|
||||
export const getPlayerPosition = () =>
|
||||
videojs.getPlayer(VIDEO_PLAYER_ID).currentTime();
|
||||
videojs.getPlayer(VIDEO_PLAYER_ID)?.currentTime();
|
||||
|
||||
Reference in New Issue
Block a user