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
|
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
|
||||||
|
|
Loading…
Reference in New Issue