Temporarily fix channel id extraction from watch object
This commit is contained in:
parent
7eb0a400c5
commit
c59b8333d7
|
@ -225,7 +225,7 @@ export default Vue.extend({
|
||||||
10
|
10
|
||||||
)
|
)
|
||||||
if ('id' in result.videoDetails.author) {
|
if ('id' in result.videoDetails.author) {
|
||||||
this.channelId = result.videoDetails.author.id
|
this.channelId = result.player_response.videoDetails.channelId
|
||||||
this.channelName = result.videoDetails.author.name
|
this.channelName = result.videoDetails.author.name
|
||||||
console.log(result)
|
console.log(result)
|
||||||
this.channelThumbnail = result.videoDetails.author.thumbnails[0].url
|
this.channelThumbnail = result.videoDetails.author.thumbnails[0].url
|
||||||
|
|
Loading…
Reference in New Issue