MediaObject Structured Data: ImageObject, VideoObject, Audio Properties and URLs
How Schema.org MediaObject, image, video, and audio properties work, when to use URLs versus typed objects, and how search features use them.
This page summarises Schema.org definitions for media in structured data—the MediaObject family, the image / video / audio properties on creative works, and how values can be a simple URL or a full ImageObject or VideoObject. Where the cluster overlaps, it also notes how Google Search structured data and the visual elements gallery refer to inline video and thumbnails; those documents do not replace Schema.org typing rules.
MediaObject: what it marks up on a page
Section titled “MediaObject: what it marks up on a page”A MediaObject is Schema.org’s generic type for media embedded in a page or offered as a download—images, video, audio, text media, 3D models, and related files.
A media object, such as an image, video, audio, or text object embedded in a web page or a downloadable dataset i.e. DataDownload. Note that a creative work may have many media objects associated with it on the same web page. For example, a page about a single song (MusicRecording) may have a music video (VideoObject), and a high and low bandwidth audio stream (2 AudioObject’s).
— Schema.org, Schema.org Version 30.1 — MediaObject
More specific types listed under MediaObject include ImageObject, VideoObject, AudioObject, 3DModel, DataDownload, MusicVideoObject, TextObject, and others; see the MediaObject type page for the full list. Snapshot types such as ImageObjectSnapshot and VideoObjectSnapshot represent byte-for-byte identical files, where differing embedded metadata (for example EXIF) means the snapshots are not the same.
ImageObject and the image property: URL or full object
Section titled “ImageObject and the image property: URL or full object”The widespread image property on many types (Thing and below) can be either a URL or a nested ImageObject.
An image of the item. This can be a URL or a fully described ImageObject.
— Schema.org, image
Schema.org also documents specialised sub-properties under image, including logo (associated logo, URL or ImageObject), photo (a photograph of a place), layoutImage (floorplan schematic), colorSwatch (product colour visualisation, should match the textual color), and diagram (structure illustration; value type ImageObject). The legacy photos property is noted as superseded but still typed as ImageObject or Photograph.
For pages rather than products, primaryImageOfPage indicates the main image on a WebPage (value type ImageObject only—stricter than generic image). On ImageObject itself, common fields include caption, embeddedTextCaption, exifData, and representativeOfPage.
| Goal | Property | Typical value types | Notes from Schema.org |
|---|---|---|---|
| General item image | image |
URL, ImageObject |
Very high adoption; equivalent to og:image |
| Main page hero | primaryImageOfPage |
ImageObject |
On WebPage |
| Brand / org logo | logo |
URL, ImageObject |
On Brand, Organization, Product, etc. |
| App store style shot | screenshot |
URL, ImageObject |
Link to screenshot of the app |
| Preview still | thumbnail |
ImageObject |
Thumbnail for an image or video |
ImageObject further specialises to types such as Barcode and ImageObjectSnapshot; see ImageObject.
VideoObject and AudioObject: embedded media on creative works
Section titled “VideoObject and AudioObject: embedded media on creative works”Creative works expose embedded media through top-level properties, not only through nested MediaObject graphs:
video—“An embedded video object”; expected typesCliporVideoObject; equivalent propertyog:video.audio—“An embedded audio object”; expected type includesAudioObjectunder creative-work usage in Schema.org Version 30.1.
VideoObject is defined as a video file; properties used on that type in the vocabulary include caption, embeddedTextCaption, transcript, actor, director, videoFrameSize, and videoQuality, with trailer able to point to another VideoObject. AudioObject is an audio file, with caption, embeddedTextCaption, and transcript among properties used on the type.
For galleries and collections, MediaGallery is a more specific type of CollectionPage, with ImageGallery and VideoGallery as further specialisations.
contentUrl, embedUrl, and related MediaObject fields
Section titled “contentUrl, embedUrl, and related MediaObject fields”When you describe the file itself inside a MediaObject, Schema.org distinguishes where bytes live versus where playback is embedded.
Actual bytes of the media object, for example the image file or video file.
— Schema.org, Schema.org Version 30.1 — contentUrl
contentUrl is used on MediaObject; embedUrl is also used on MediaObject for embeddable players. Other properties frequently attached to MediaObject in the vocabulary include encodingFormat, contentSize, bitrate, width, height, duration, uploadDate, playerType, regionsAllowed, requiresSubscription, sha256 (content hash), associatedMedia, encoding / encodings, and timeline hooks beforeMedia, afterMedia, and duringMedia (values MediaObject or URL). associatedArticle links media back to an article where relevant.
Choosing URL-only markup versus a rich VideoObject / ImageObject is a trade-off: a URL satisfies cardinality and type constraints for properties that allow URL, while nested objects let you supply captions, dimensions, and contentUrl together for the same asset.
Captions, transcripts, and accessibility-related fields
Section titled “Captions, transcripts, and accessibility-related fields”On audiovisual types, text alternatives are first-class properties:
captiononAudioObject,ImageObject, orVideoObjectacceptsMediaObjectorText.embeddedTextCaptionis used on the same audiovisual/image types.transcriptis used onAudioObjectandVideoObject.
These align with practical questions about whether structured data should carry human-readable descriptions of media, not only links.
Google Search: inline video in Q&A and forum markup
Section titled “Google Search: inline video in Q&A and forum markup”Google’s structured-data docs for interactive formats reuse Schema.org’s VideoObject for media inside posts, separate from generic page-level video markup.
For QAPage, both Question and Answer may include:
video — VideoObject — Any inline videos within the question, if applicable.
— Google, Q&A (QAPage) structured data
The same page allows Answer video as VideoObject or URL. Discussion forum structured data documents the same pattern for DiscussionForumPosting (or SocialMediaPosting) and for Comment: optional video as VideoObject for inline videos.
The common conclusion: when Google documents forum or Q&A rich results, inline clips are typed as VideoObject when you need full video metadata; a bare URL is explicitly allowed only where Google lists it (Q&A answers). Elsewhere, prefer VideoObject or match the property’s expected types on schema.org/video.
Thumbnails in results versus thumbnail in markup
Section titled “Thumbnails in results versus thumbnail in markup”Google’s visual elements gallery describes what users may see in search—not new Schema.org types:
An image thumbnail for the indexed image that’s embedded on a web page. Tapping or clicking it takes the user to the image.
— Google, Visual Elements gallery of Google Search — Image thumbnail
For video:
A video thumbnail for the indexed video that’s embedded on a web page. Tapping or clicking it takes the user to the web page that’s embedding the video.
— Google, Visual Elements gallery of Google Search — Video thumbnail
In Schema.org, thumbnail is “Thumbnail image for an image or video” with value type ImageObject, which is the vocabulary-level way to associate a still with media. Search appearance still depends on indexing and Google’s image and video guidance; structured data should remain consistent with visible media on the page.
Short JSON-LD pattern (illustration only)
Section titled “Short JSON-LD pattern (illustration only)”{ "@context": "https://schema.org", "@type": "VideoObject", "name": "Example clip", "contentUrl": "https://example.com/video.mp4", "thumbnailUrl": "https://example.com/thumb.jpg", "uploadDate": "2026-01-15"}Use thumbnail as an ImageObject when you want strict Schema.org nesting; many publishers also use thumbnailUrl on VideoObject in examples compatible with consumers that map it to preview images.
3D and encoded media
Section titled “3D and encoded media”3DModel represents 3D content that may have one or more encodings as MediaObject instances, with encodingFormat describing formats; zip-wrapped single files may use a +zip suffix convention on encodingFormat. This matters when media markup is not only 2D images or progressive video but downloadable assets.
Common mistakes
Section titled “Common mistakes”- Using
primaryImageOfPagewith a bare URL when the property expects anImageObject(primaryImageOfPage). - Putting playback URLs in
contentUrlwhen the value is only an embed page; check whetherembedUrlorcontentUrlmatches where the bytes or player actually live (contentUrl, embedUrl). - Marking decorative images as
representativeOfPageor the soleprimaryImageOfPagewhen they do not represent the page topic (representativeOfPage). - Relying on superseded
photosinstead ofphotoorimagefor new markup. - Omitting
VideoObjectfields for forum/Q&A inline video when Google’s docs expect a video object, then expecting rich-result behaviour identical to fully described clips.
Debugging media in the browser (developers)
Section titled “Debugging media in the browser (developers)”For playback problems rather than markup validation, Chrome DevTools offers a Media panel: you can export player diagnostics by right-clicking a listed player and choosing save player info as JSON. See Media: View and debug media players information. That complements—not replaces—validating JSON-LD against Schema.org types.
How to check this on your site
Section titled “How to check this on your site”- Open Google’s Rich Results Test or the Schema Markup Validator linked from Schema.org property pages (for example from MediaObject) and load a URL or paste JSON-LD that uses
ImageObject,VideoObject, orAudioObject. - For Q&A or discussion pages, compare your
videonodes to Q&A (QAPage) structured data and Discussion forum structured data—confirm inline clips useVideoObjectwhere required andURLonly where Google explicitly allows it on answers. - In Google Search Console, inspect a sample URL’s structured data report (if available for your property) after deployment.
- On a live page, confirm visible images and videos match
contentUrl,embedUrl, and caption/transcript fields you declare; mismatches are a frequent source of manual quality issues. - You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about, and we will correct or clarify it.