Don't need contentUrl if embedUrl is set

This commit is contained in:
Chocobozzz 2023-12-22 08:58:53 +01:00
parent 00e0d15611
commit 374820f2c0
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -245,7 +245,6 @@ export class TagsHtml {
if (tags.embed.duration) schema['duration'] = tags.embed.duration
schema['thumbnailUrl'] = tags.image.url
schema['contentUrl'] = tags.url
}
return Hooks.wrapObject(schema, 'filter:html.client.json-ld.result', context)