MediaObject
This page describes the MediaObject type.
Last updated
This page describes the MediaObject type.
Last updated
This type is derived from https://schema.org/MediaObject, which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.
@type
Must always be present and set to "@type": "MediaObject"
url
The URL for the page containing the media.
Example
"url": "https://example.com/media/stayin/getfit"
contentUrl
Actual bytes of the media object, for example the image file or video file.
Example
"contentUrl": "https://example.com/media/stayin/getfit"
embedUrl
A URL pointing to a player for a specific video. In general, this is the information in the src element of an embed tag and should not be the same as the content of the loc tag.
Example
"embedUrl": "https://example.com/media/stayin/getfit"
height
The height of the media in pixels.
Example
"height": 300
thumbnail
Array of
The URL for a thumbnail image for the media.
width
The width of the media in pixels.
Example
"width": 400
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution License (CC-BY V4.0), and code samples are licensed under the MIT License, for anyone to access, use and share; using attribution "OpenActive".