add skipInactive parameter (#9)

This commit is contained in:
mpstv
2026-04-01 12:00:00 +08:00
committed by yz-yu
parent a6d6d4b3cd
commit 092255be91

View File

@@ -1,7 +1,7 @@
<div class="rr-player" ref:player style="{playerStyle}">
<div class="rr-player__frame" ref:frame { style }></div>
{#if replayer}
<Controller { replayer } {showController} {autoPlay} on:fullscreen="fullscreen()" />
<Controller { replayer } {showController} {autoPlay} {skipInactive} on:fullscreen="fullscreen()" />
{/if}
</div>
@@ -29,6 +29,7 @@
height: 576,
events: [],
autoPlay: true,
skipInactive: true,
replayer: null,
};
},