回答編集履歴

2

</html>タグを追記。

2017/04/10 19:02

投稿

umyu
umyu

スコア5846

test CHANGED
@@ -108,6 +108,8 @@
108
108
 
109
109
  </body>
110
110
 
111
+ </html>
112
+
111
113
  ```
112
114
 
113
115
 

1

head、bodyのhtmlタグを修正!

2017/04/10 19:02

投稿

umyu
umyu

スコア5846

test CHANGED
@@ -13,8 +13,6 @@
13
13
  <meta charset="UTF-8">
14
14
 
15
15
  <title></title>
16
-
17
- <head>
18
16
 
19
17
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
20
18
 
@@ -66,7 +64,7 @@
66
64
 
67
65
  }
68
66
 
69
- capture()
67
+ capture();
70
68
 
71
69
  current += 5;
72
70
 
@@ -76,7 +74,9 @@
76
74
 
77
75
  video.onloadeddata = function(){
78
76
 
79
- video.currentTime = current;
77
+ this.currentTime = 0;
78
+
79
+ current = 0;
80
80
 
81
81
  };
82
82
 
@@ -106,6 +106,8 @@
106
106
 
107
107
  </script>
108
108
 
109
+ </body>
110
+
109
111
  ```
110
112
 
111
113