add skipInactive parameter (#9)

This commit is contained in:
mpstv
2019-10-31 04:25:09 +03:00
committed by yz-yu
parent 31ea2db94d
commit 998f7a6cf0

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,
};
},