diff --git a/src/renderer/views/Watch/Watch.js b/src/renderer/views/Watch/Watch.js index 17128e61..0194938d 100644 --- a/src/renderer/views/Watch/Watch.js +++ b/src/renderer/views/Watch/Watch.js @@ -413,6 +413,7 @@ export default Vue.extend({ } this.isLoading = false + this.updateTitle() }) .catch(err => { const errorMessage = this.$t('Local API Error (Click to copy)') @@ -578,6 +579,7 @@ export default Vue.extend({ } this.isLoading = false + this.updateTitle() }) .catch(err => { const errorMessage = this.$t('Invidious API Error (Click to copy)') @@ -988,6 +990,10 @@ export default Vue.extend({ return Math.floor(this.getWatchedProgress()) }, + updateTitle: function () { + document.title = `${this.videoTitle} - FreeTube` + }, + ...mapActions([ 'showToast', 'buildVTTFileLocally',