use value.audio for google video metadata
This commit is contained in:
parent
6d91d1c799
commit
45fcf0d518
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ function buildClaimOgMetadata(uri, claim, overrideOptions = {}) {
|
||||||
function buildGoogleVideoMetadata(uri, claim) {
|
function buildGoogleVideoMetadata(uri, claim) {
|
||||||
const { claimName } = parseURI(uri);
|
const { claimName } = parseURI(uri);
|
||||||
const { meta, value } = claim;
|
const { meta, value } = claim;
|
||||||
const media = value && (value.video || value.audio || value.image);
|
const media = value && value.video;
|
||||||
const source = value && value.source;
|
const source = value && value.source;
|
||||||
const thumbnail = value && value.thumbnail && value.thumbnail.url;
|
const thumbnail = value && value.thumbnail && value.thumbnail.url;
|
||||||
const mediaType = source && source.media_type;
|
const mediaType = source && source.media_type;
|
||||||
|
|
Loading…
Reference in a new issue