|
|
@ -56,6 +56,13 @@ class View {
|
|
|
|
comment.appendChild(commentText);
|
|
|
|
comment.appendChild(commentText);
|
|
|
|
|
|
|
|
|
|
|
|
aside.appendChild(comment);
|
|
|
|
aside.appendChild(comment);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
comment.addEventListener(
|
|
|
|
|
|
|
|
"click",
|
|
|
|
|
|
|
|
function () {
|
|
|
|
|
|
|
|
this.videoPlayer.skipAhead(comments[i].start);
|
|
|
|
|
|
|
|
}.bind(this)
|
|
|
|
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -80,6 +87,13 @@ class View {
|
|
|
|
videoComment.appendChild(img);
|
|
|
|
videoComment.appendChild(img);
|
|
|
|
|
|
|
|
|
|
|
|
videoProgress.appendChild(videoComment);
|
|
|
|
videoProgress.appendChild(videoComment);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
videoComment.addEventListener(
|
|
|
|
|
|
|
|
"click",
|
|
|
|
|
|
|
|
function () {
|
|
|
|
|
|
|
|
this.videoPlayer.skipAhead(comments[i].start);
|
|
|
|
|
|
|
|
}.bind(this)
|
|
|
|
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|