add speed setter and option for display controller or not

This commit is contained in:
Yanzhen Yu
2018-10-23 18:59:29 +08:00
parent 0f7fa67871
commit 33b58c7717
4 changed files with 18 additions and 33 deletions

View File

@@ -1,7 +1,7 @@
<div class="rr-player">
<div class="rr-player__frame" ref:frame { style }></div>
{#if replayer}
<Controller { replayer } />
<Controller { replayer } {showController} />
{/if}
</div>
@@ -15,6 +15,7 @@
},
data() {
return {
showController: true,
width: 1024,
height: 576,
events: [],