Commit f2a18309 authored by liuzheng712's avatar liuzheng712

publish

parent 95e29c2a
...@@ -67,7 +67,7 @@ export class JsonComponent implements OnInit { ...@@ -67,7 +67,7 @@ export class JsonComponent implements OnInit {
restart() { restart() {
clearInterval(this.timer); clearInterval(this.timer);
this.term.reset(); this.term.reset();
this.time = (this.setPercent / 100) * Video.totalTime; this.time = 1;
this.pos = 0; this.pos = 0;
this.toggle = true; this.toggle = true;
this.timer = setInterval(() => { this.timer = setInterval(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment