Tilbage til alle eksempler

VideoObject til Video Indhold

IndholdMellem

VideoObject schema til videoer der hjælper dem med at fremstå i Google video søgning.

Kode Eksempel

<!DOCTYPE html>
<html lang="da">
<head>
  <title>Sådan laver du den perfekte espresso</title>
  <script type="application/ld+json">
  {
    "@context": "https://schema.org",
    "@type": "VideoObject",
    "name": "Sådan laver du den perfekte espresso hjemme",
    "description": "Lær at lave cafe-kvalitets espresso derhjemme med denne trin-for-trin guide. Vi viser dig alt fra bønnevalg til ekstraktions-teknikker.",
    "thumbnailUrl": [
      "https://example.com/photos/espresso-thumb-1.jpg",
      "https://example.com/photos/espresso-thumb-2.jpg",
      "https://example.com/photos/espresso-thumb-3.jpg"
    ],
    "uploadDate": "2025-01-10T08:00:00+01:00",
    "duration": "PT8M32S",
    "contentUrl": "https://example.com/videos/perfekt-espresso.mp4",
    "embedUrl": "https://example.com/embed/perfekt-espresso",
    "interactionStatistic": {
      "@type": "InteractionCounter",
      "interactionType": { "@type": "WatchAction" },
      "userInteractionCount": 12547
    },
    "expires": "2027-01-10T00:00:00+01:00",
    "hasPart": [
      {
        "@type": "Clip",
        "name": "Introduktion til espresso",
        "startOffset": 0,
        "endOffset": 45,
        "url": "https://example.com/videos/perfekt-espresso.mp4#t=0,45"
      },
      {
        "@type": "Clip",
        "name": "Vælg de rigtige kaffebønner",
        "startOffset": 45,
        "endOffset": 180,
        "url": "https://example.com/videos/perfekt-espresso.mp4#t=45,180"
      },
      {
        "@type": "Clip",
        "name": "Grinding og dosering",
        "startOffset": 180,
        "endOffset": 350,
        "url": "https://example.com/videos/perfekt-espresso.mp4#t=180,350"
      },
      {
        "@type": "Clip",
        "name": "Ekstraktion og timing",
        "startOffset": 350,
        "endOffset": 512,
        "url": "https://example.com/videos/perfekt-espresso.mp4#t=350,512"
      }
    ],
    "regionsAllowed": "DK,SE,NO,DE",
    "author": {
      "@type": "Person",
      "name": "Mikkel Barista",
      "url": "https://example.com/mikkel-barista"
    },
    "publisher": {
      "@type": "Organization",
      "name": "Kaffe Akademiet",
      "logo": {
        "@type": "ImageObject",
        "url": "https://example.com/logo.png",
        "width": 600,
        "height": 60
      }
    }
  }
  </script>
</head>
<body>
  <h1>Sådan laver du den perfekte espresso</h1>
  <video controls src="/videos/perfekt-espresso.mp4"></video>
</body>
</html>

Forklaring

Dette eksempel viser VideoObject schema til videoer. Google bruger denne markup til at vise videoer i Google Video søgning og som rich results med thumbnails, duration og key moments. Særligt nyttigt for tutorials og how-to videoer.

Use Cases

  • YouTube-lignende video platforme
  • Tutorial og how-to videoer
  • Produkt demo videoer
  • Online kurser
  • News video content

Best Practices

  • Inkluder mindst 3 thumbnails i høj opløsning (1280x720px minimum)
  • Brug ISO 8601 duration format (PT8M32S = 8 minutter 32 sekunder)
  • Tilføj contentUrl (direkte video fil) og embedUrl (embed player)
  • Angiv uploadDate i ISO 8601 format
  • Inkluder hasPart clips for key moments (vises som chapters i Google)
  • Tilføj interactionStatistic for view count
  • Angiv regionsAllowed hvis video er geo-restricted
  • Publisher logo skal være 60px høj

Quick Info

Kategori
Indhold
Sværhedsgrad
Mellem
Use Cases
5
Best Practices
8