Skip to content

Commit

Permalink
fixbug replay
Browse files Browse the repository at this point in the history
  • Loading branch information
bergkamp committed Jun 4, 2021
1 parent 235dbf7 commit 94e0a4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "video-comparison-player",
"version": "0.2.0",
"version": "0.2.1",
"description": "Video comparison player",
"private": true,
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ export default {
},
replay() {
this.play(false)
this.leftPlayer.currentTime = 0;
this.rightPlayer.currentTime = 0;
this.play(false);
},
pause() {
Expand Down

0 comments on commit 94e0a4a

Please sign in to comment.