vercel / vercel/next.js

Types missing for “video.tv_show” and “video.other” in OpenGraph in Metadata.

Open
#81,871 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

TypeScript
Dominant language
JavaScript
Stars
142k
Forks
32.4k
Avg merge
2d 14h
Merged PRs (30d)
351

Description

Link to the code that reproduces this issue

https://github.com/szymooneq/nextjs-issue

To Reproduce

Copy the above repository (canary version) or create a new project with the command npx create-next-app@latest, as this bug is not on the list of reported issues.

Current vs. Expected behavior

Currently, the OpenGraphVideoTVShow and OpenGraphVideoOther types only have OpenGraphMetadata and type attributes.

Image

They should also have attributes with OpenGraphVideoMovie, as stated on the ogp.me/#type_video.tv_show website.

Image

This will allow you to use attributes from OpenGraphVideoMovie with OpenGraphVideoTVShow or OpenGraphVideoOther.

Image
Provide environment information
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:43 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T8132
  Available memory (MB): 16384
  Available CPU cores: 10
Binaries:
  Node: 22.17.0
  npm: 10.9.2
  Yarn: N/A
  pnpm: 10.13.1
Relevant Packages:
  next: 15.4.2-canary.10 // Latest available version is detected (15.4.2-canary.10).
  eslint-config-next: 15.4.2
  react: 19.1.0
  react-dom: 19.1.0
  typescript: 5.8.3
Next.js Config:
  output: N/A
Which area(s) are affected? (Select all that apply)

TypeScript

Which stage(s) are affected? (Select all that apply)

next build (local)

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked reproduction repository or a project created with npx create-next-app@latest, then inspect the OpenGraphVideoTVShow and OpenGraphVideoOther type definitions. Run next build locally to reproduce the TypeScript issue; done means both types expose the attributes available from OpenGraphVideoMovie while retaining their existing metadata and type attributes.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.