Check 15.11 · Schema.org structured data

Implement VideoObject/ImageObject if useful

Mark up your videos with VideoObject and your licensed images with ImageObject, only where it helps, on WordPress, Shopify, Laravel or Next.js.

Priority
Important
Difficulty
Intermediate
Estimated time
1 to 4 h
Free, no account: your progress is saved in this browser.

Ask an AI to check this point on your site

Opens the assistant with a ready-made question: this check, its goal and your site URL.

For Gemini, Copilot or another assistant, copy the question. The link opens the chosen service directly: nothing goes through this site.

In short

VideoObject describes a video (title, thumbnail, upload date, duration, file or player) and ImageObject an image (file, creator, credit, license). The first helps Google find and present the videos on a page; the second mainly serves to show the “Licensable” label in Google Images. The check consists of marking up pages where a video is the main content or an important complement, and images whose creator and license you want to make known, not every media file on the site.

Why it matters

Videos. Google detects many videos on its own, but the markup gives it information it cannot reliably guess: upload date, duration, file URL, key moments. It opens up several displays: video in search results, the Videos tab, key moments (chaptered segments), and the “LIVE” badge for a broadcast. Google sets a basic condition: VideoObject markup must be on a page where the user can watch the video.

Images. Google reads license metadata either from the page's ImageObject markup or from the IPTC metadata embedded in the file. When a license is provided, the image can get the “Licensable” badge in Google Images, with a link to the terms of use and the license purchase page. If the two sources conflict, Google uses the structured data.

ImageObject is also used as a value for other markup: the image of an Article or Product, the logo of an Organization, the thumbnail of a video. That is not a separate check: these images are filled in with the entity that carries them.

On the GEO (Generative Engine Optimization) side, no generative engine documents using this markup. A video is hardly usable by them without text anyway: an explicit title, a description, a transcript on the page.

What it improves

  • Video visibility Eligibility for video results, key moments and the “LIVE” badge. No display is guaranteed.
  • Video indexing According to Google, contentUrl is the most effective way for it to fetch the video file.
  • Google Images “Licensable” badge, credit and creator shown in the image panel.
  • Protection and attribution Your terms of use and license purchase page are highlighted.
  • Rankings No direct effect.

How to check

Find the existing markup:

curl -s https://example.com/tutoriels/detartrer-bouilloire/ | grep -o -E '"@type": ?"(VideoObject|ImageObject|Clip|BroadcastEvent)"'

Then:

  • Rich Results Test: enter the URL; the “Videos” and “Image metadata” sections must appear without errors.
  • Search Console: the “Video pages” report in the Indexing section shows whether Google found a video and why it did not index it (video outside the main content, inaccessible thumbnail…). The “Videos” report under Enhancements lists markup errors. Image metadata has its own report when Google detects it.
  • File access: the thumbnail and the video file must return a 200 and not be blocked by robots.txt.
curl -s -o /dev/null -w "%{http_code} %{content_type}\n" https://example.com/media/detartrer-bouilloire.jpg

Expected result: every strategic video page carries a complete VideoObject, the thumbnail is accessible, and images that are sold or licensed carry license and acquireLicensePage.

How to implement

Before you start

Decide where to add markup:

Media Markup Useful?
Main video on a page (tutorial, demo, webinar) VideoObject Yes
Product video on a product page VideoObject, referenced by the Product through subjectOf Yes if the video adds information
Decorative background video, no sound None No
Gallery of ten videos with no dedicated page VideoObject, preferably on dedicated pages To be decided, see Create a dedicated video page if strategic (opens in a new tab)
Original photo, illustration, reusable infographic ImageObject with license Yes if you want to be credited
Image bank or photographer selling licenses ImageObject with license and purchase page Yes
Image of an article, product, logo The entity's image or logo property Already covered elsewhere

VideoObject properties:

Required Recommended
name, thumbnailUrl, uploadDate (ISO 8601, with time zone) description, duration (PT4M12S), contentUrl, embedUrl, expires, interactionStatistic, regionsAllowed, creator

ImageObject properties for image metadata:

Required Recommended
contentUrl, plus one of creator, creditText, copyrightNotice or license The other three, and acquireLicensePage; license is essential for the “Licensable” badge

Template for a tutorial page with a video hosted on your site:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "VideoObject",
  "@id": "https://example.com/tutoriels/detartrer-bouilloire/#video",
  "name": "Descaling a cast iron kettle without damaging it",
  "description": "White vinegar method in four steps, soaking time and rinsing.",
  "thumbnailUrl": "https://example.com/media/detartrer-bouilloire.jpg",
  "uploadDate": "2026-10-14T09:00:00+02:00",
  "duration": "PT4M12S",
  "contentUrl": "https://example.com/media/detartrer-bouilloire.mp4",
  "embedUrl": "https://example.com/lecteur/detartrer-bouilloire",
  "creator": { "@id": "https://example.com/#organization" },
  "hasPart": [
    {
      "@type": "Clip",
      "name": "Preparing the solution",
      "startOffset": 35,
      "endOffset": 90,
      "url": "https://example.com/tutoriels/detartrer-bouilloire/?t=35"
    }
  ]
}
</script>

Clip entries create key moments: each segment has a name, a start time in seconds and a URL that opens the video at that point. Google requires a video of at least 30 seconds, and no two segments may share the same start time. Without manual chapters, SeekToAction lets Google detect key moments, in a limited number of languages.

Template for a licensed image:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "ImageObject",
  "contentUrl": "https://example.com/photos/port-de-concarneau.jpg",
  "license": "https://example.com/licence-photos/",
  "acquireLicensePage": "https://example.com/acheter-une-licence/",
  "creditText": "Exemple Studio",
  "creator": { "@type": "Person", "name": "Jeanne Martin" },
  "copyrightNotice": "© 2026 Exemple Studio"
}
</script>

For an image produced or edited by generative AI, Google also reads the IPTC DigitalSourceType field (value trainedAlgorithmicMedia, for example) in the file itself. Fill it in on export if your tools allow it.

Embedded YouTube or Vimeo videos

An embedded YouTube video can be marked up on your page: you do not have the file, so use embedUrl (https://www.youtube.com/embed/IDENTIFIANT) without contentUrl. Reuse the upload date and duration shown by the platform, and an accessible thumbnail (your own image, or the one the platform provides). The title and description can be adapted to your page, but must describe the same video. For the channel itself, see Optimize related YouTube videos (opens in a new tab).

WordPress

Versions WordPress 6.4 and later; Yoast SEO 20 and later with Yoast Video SEO, Rank Math 1.0.x, November 2026.

  • Yoast SEO: the base graph already contains an ImageObject for the page's main image. Video markup goes through the Yoast Video SEO add-on, included in Yoast's paid plans, which adds VideoObject and generates a video sitemap.
  • Rank Math: add a Video schema in the content's Schema tab (name, description, embed URL, thumbnail, date, duration fields). The Pro version can detect embedded videos automatically.
  • Licensed images: no common SEO plugin handles license and acquireLicensePage. Add them with a filter on the Yoast graph, for example to images served from a folder reserved for your photos:
add_filter('wpseo_schema_graph', function (array $graph): array {
    foreach ($graph as $index => $piece) {
        if (($piece['@type'] ?? null) !== 'ImageObject') {
            continue;
        }

        if (! str_contains($piece['contentUrl'] ?? '', '/uploads/photos-originales/')) {
            continue;
        }

        $graph[$index]['license'] = home_url('/licence-photos/');
        $graph[$index]['acquireLicensePage'] = home_url('/acheter-une-licence/');
        $graph[$index]['creditText'] = get_bloginfo('name');
    }

    return $graph;
});

Only apply these properties to images you hold the rights to: adapt the condition (folder, media library metadata) to exclude images from third-party stock libraries.

Shopify

Versions Shopify admin, Online Store 2.0 themes, November 2026.

Not all videos added to a product's media are picked up by the structured_data filter. For an important product video, add a VideoObject block in the product section, based on the media object:

{%- for media in product.media -%}
  {%- if media.media_type == 'external_video' and media.host == 'youtube' -%}
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "VideoObject",
  "name": {{ media.alt | default: product.title | json }},
  "thumbnailUrl": {{ media.preview_image | image_url: width: 1280 | prepend: 'https:' | json }},
  "embedUrl": {{ 'https://www.youtube.com/embed/' | append: media.external_id | json }},
  "uploadDate": {{ product.metafields.custom.video_date.value | json }}
}
</script>
  {%- endif -%}
{%- endfor -%}

The upload date is not exposed by the media object: create a date-type product metafield (here custom.video_date) in Settings > Metafields and metaobjects > Products, and only output the block if it is filled in. Video apps that embed their own player sometimes add their own markup: check that there is no duplicate.

Laravel

Versions Laravel 11 to 13 (Carbon 3).

Build the block from the model that feeds the player:

$videoSchema = [
    '@context' => 'https://schema.org',
    '@type' => 'VideoObject',
    '@id' => route('tutorials.show', $tutorial).'#video',
    'name' => $tutorial->video_title,
    'description' => $tutorial->video_description,
    'thumbnailUrl' => asset($tutorial->thumbnail_path),
    'uploadDate' => $tutorial->video_published_at->toIso8601String(),
    'duration' => CarbonInterval::seconds($tutorial->video_seconds)->cascade()->spec(),
    'contentUrl' => asset($tutorial->video_path),
];

CarbonInterval::spec() outputs the duration in ISO 8601 format (PT4M12S); import Carbon\CarbonInterval. Serialize with json_encode($videoSchema, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_HEX_TAG) in the Blade view, as for the other JSON-LD blocks.

Next.js

Versions Next.js 15 and 16 (App Router).

In the page's server component:

const videoJsonLd = {
  '@context': 'https://schema.org',
  '@type': 'VideoObject',
  name: video.title,
  description: video.description,
  thumbnailUrl: video.thumbnail,
  uploadDate: video.publishedAt,
  duration: video.isoDuration,
  contentUrl: video.fileUrl,
};

Render it in a <script type="application/ld+json"> tag with JSON.stringify(videoJsonLd).replace(/</g, '\\u003c'). If the player is lazy-loaded (clickable facade), the markup stays in the initial HTML: it is what signals the video before any interaction.

Other CMSs and platforms

Drupal (Schema.org Metatag module, VideoObject and ImageObject types), Wix, Squarespace and Webflow let you add a custom JSON-LD block in the page or template code. On collection templates, insert the dynamic fields (title, thumbnail, date) in the block rather than fixed values.

Common mistakes

  • Marking up a video on a page where it cannot be watched: a list page that links to the video does not count.
  • uploadDate without a time zone or set to the page's modification date.
  • Thumbnail blocked by robots.txt, protected by an expiring token or served in a format Google Images does not support.
  • contentUrl pointing to the page instead of the video file.
  • A duration in the wrong format: P10M means ten months, PT10M ten minutes.
  • License declared on stock images you did not create.
  • Video injected by JavaScript after a click with no markup in the initial HTML: Google only sees a facade.

Frequently asked questions

Should you mark up a YouTube video embedded on your site?

Yes, if the video is important to the page, for example a tutorial or a demo. Mark it up as VideoObject on your page with embedUrl, the upload date, an accessible thumbnail and a title that describes the video. The markup helps Google associate the video with your page rather than only the YouTube page, with no guarantee that your page will be chosen for the video result.

What is the “Licensable” badge in Google Images?

It is a label shown on an image in Google Images when its license is declared, with a link to the terms of use and, if you provide it, to the page where a license can be purchased. To be eligible, add at least contentUrl and license in an ImageObject on the page, or fill in the Web Statement of Rights field in the file's IPTC metadata.

Should every image on the site be marked up as ImageObject?

No. Images of an article or product, and the logo, are already filled in as the image or logo property of the relevant entity. A dedicated ImageObject is only useful for declaring the creator, credit or license of images you want to protect or sell: original photos, illustrations, infographics. Marking up decorative images or third-party stock images adds nothing and can mislead about their rights.

Do key moments appear automatically?

Google can detect key moments on its own, but you can declare them in two ways. With Clip, you set the name, start time and URL of each segment yourself. With SeekToAction, you indicate how to build a URL that starts the video at a given second, and Google chooses the segments. The video must last at least 30 seconds, and display is never guaranteed.

Updated on

Topic checklist (PDF)

And now?

In the “Schema.org structured data” topic

  1. Implement Organization and WebSite if appropriate
  2. Implement LocalBusiness if relevant
  3. Implement Person and ProfilePage
  4. Implement WebPage, AboutPage and ContactPage if useful
  5. Implement BreadcrumbList
  6. Implement Article, BlogPosting or NewsArticle
  7. Implement Product, ProductGroup and Offer to match the catalog
  8. Implement Service if relevant
  9. Implement Review/AggregateRating only if justified
  10. Implement FAQPage/HowTo only if relevant
  11. Implement VideoObject/ImageObject if useful
  12. Evaluate Event, JobPosting, SoftwareApplication, Recipe, Dataset and Course depending on the site
  13. Prefer JSON-LD
  14. Fill in required and recommended properties
  15. Use stable @id values
  16. Connect entities
  17. Provide relevant sameAs links
  18. Specify authors, publisher, dates and images
  19. Align markup with visible content
  20. Avoid fake reviews and misleading data
  21. Test with the Rich Results Test and Schema Markup Validator
  22. Monitor Search Console errors
  23. Automate validation after each deployment