Added handleVideoEnded() and the fix for the erroring of the toLocalePublicationString()

This commit is contained in:
Luca 2020-09-30 23:01:36 +02:00
parent 1229008549
commit da40e92cb6
2 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,7 @@ export default Vue.extend({
comment.showReplies = false
comment.dataType = 'local'
this.toLocalePublicationString({
publishText: (comment.time + 'ago'),
publishText: (comment.time + ' ago'),
templateString: this.$t('Video.Publicationtemplate'),
timeStrings: this.$t('Video.Published'),
liveStreamString: this.$t('Video.Watching'),

View File

@ -302,6 +302,7 @@ export default Vue.extend({
message: this.$t('This video is unavailable because of missing formats. This can happen due to country unavailability.'),
time: 7000
})
this.handleVideoEnded()
return
}