diff --git a/src/renderer/views/Watch/Watch.js b/src/renderer/views/Watch/Watch.js index 0ec03dc0..d966ffae 100644 --- a/src/renderer/views/Watch/Watch.js +++ b/src/renderer/views/Watch/Watch.js @@ -217,7 +217,7 @@ export default Vue.extend({ this.$store .dispatch('ytGetVideoInformation', this.videoId) - .then(result => { + .then(async result => { console.log(result) this.videoTitle = result.videoDetails.title this.videoViewCount = parseInt( @@ -327,7 +327,7 @@ export default Vue.extend({ .captionTracks if (typeof captionTracks !== 'undefined') { - this.createCaptionUrls(captionTracks) + await this.createCaptionUrls(captionTracks) } this.isLoading = false