mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Show scene cover image in player preview (#5666)
This was accidentally removed in #5633
This commit is contained in:
@@ -697,6 +697,12 @@ export const ScenePlayer: React.FC<IScenePlayerProps> = ({
|
||||
const player = getPlayer();
|
||||
if (!player) return;
|
||||
|
||||
if (scene.paths.screenshot) {
|
||||
player.poster(scene.paths.screenshot);
|
||||
} else {
|
||||
player.poster("");
|
||||
}
|
||||
|
||||
function loadMarkers() {
|
||||
const loadMarkersAsync = async () => {
|
||||
const markerData = scene.scene_markers.map((marker) => ({
|
||||
|
||||
Reference in New Issue
Block a user