Test if this fixes subtitles from sometimes not showing up.

This commit is contained in:
Preston 2020-08-26 16:45:20 -04:00
parent 781e971357
commit 029a0bc08e
1 changed files with 2 additions and 2 deletions

View File

@ -217,7 +217,7 @@ export default Vue.extend({
this.$store this.$store
.dispatch('ytGetVideoInformation', this.videoId) .dispatch('ytGetVideoInformation', this.videoId)
.then(result => { .then(async result => {
console.log(result) console.log(result)
this.videoTitle = result.videoDetails.title this.videoTitle = result.videoDetails.title
this.videoViewCount = parseInt( this.videoViewCount = parseInt(
@ -327,7 +327,7 @@ export default Vue.extend({
.captionTracks .captionTracks
if (typeof captionTracks !== 'undefined') { if (typeof captionTracks !== 'undefined') {
this.createCaptionUrls(captionTracks) await this.createCaptionUrls(captionTracks)
} }
this.isLoading = false this.isLoading = false