Skip to content

Commit

Permalink
Show scene cover image in player preview
Browse files Browse the repository at this point in the history
This was accidentally removed in stashapp#5633
  • Loading branch information
Maista6969 committed Feb 18, 2025
1 parent 0296b63 commit c33b8e0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ui/v2.5/src/components/ScenePlayer/ScenePlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) => ({
Expand Down

0 comments on commit c33b8e0

Please sign in to comment.