Test if this fixes subtitles from sometimes not showing up.
This commit is contained in:
parent
781e971357
commit
029a0bc08e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue