+
+ private resetVideo () {
+ if (this.video.commentsEnabled === true) {
+ // Reset all our fields
+ this.highlightedThread = null
+ this.comments = []
+ this.threadComments = {}
+ this.threadLoading = {}
+ this.inReplyToCommentId = undefined
+ this.componentPagination.currentPage = 1
+ this.componentPagination.totalItems = null
+
+ this.loadMoreComments()
+ }
+ }
+
+ private processHighlightedThread (highlightedThreadId: number) {
+ this.highlightedThread = this.comments.find(c => c.id === highlightedThreadId)
+
+ const highlightThread = true
+ this.viewReplies(highlightedThreadId, highlightThread)
+ }