mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
Show scene cover image in player preview (#5666)
This was accidentally removed in #5633
This commit is contained in:
parent
0296b63be5
commit
3f90e57861
1 changed files with 6 additions and 0 deletions
|
|
@ -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) => ({
|
||||
|
|
|
|||
Loading…
Reference in a new issue