Problem/Motivation

Open Video Duration meta tag is not supported.

@see #2319389: Add extra meta tags for og:type=video

Proposed resolution

Add og:video:duration tag

Remaining tasks

Copy code from #2319389: Add extra meta tags for og:type=video
Update tests
Approve

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jrockowitz created an issue. See original summary.

jrockowitz’s picture

Status: Active » Needs review
FileSize
1.38 KB
thejimbirch’s picture

Patch applied and added the tag as expected, but was missing the schema. New patch attached that adds it.

To Validate:
Apply the patch
Verify metatag_open_graph is enabled
Add/Edit and Meta tag default
Expand the Open Graph field set
Verify the Video duration (seconds) field is present

There is an issue to add test coverage for this scenario, Add test coverage to ensure each meta tag's config schema is created properly.

cindytwilliams’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
47.23 KB
79.94 KB
54.29 KB

Patch #3 applied cleanly. The "Video duration (seconds)" field was added, as well as the og:video:duration meta tag and the schema.

Marking RTBC.

Chris Matthews’s picture

DamienMcKenna’s picture

So the D7 version doesn't have this, it has just video:duration, so I added a new issue to backport the change: #3089445: Add og:video:duration tag (D7)

DamienMcKenna’s picture

Status: Reviewed & tested by the community » Fixed

I also updated Drupal\metatag\Plugin\migrate\process\d7\MetatagD7Entities so we can make sure we remember to get it into D7.

Committed. Thanks everyone!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.