媒体对象
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
类型名称:MediaObject
扩展 CreativeWork
名称 |
类型 |
说明 |
相关文章 |
新闻报道 |
与媒体对象相关联的 NewsArticle。 |
bitrate |
文本 |
媒体对象的比特率。 |
contentSize |
文本 |
文件大小,以兆字节/千字节为单位。 |
contentUrl |
网址 |
媒体对象的实际字节,例如图片文件或视频文件。 |
时长 |
时长 |
内容(影片、录音、活动等)的时长,采用 ISO 8601 日期格式。 |
embedUrl |
网址 |
指向特定视频的播放器的网址。一般而言,这是 embed 标记的 src 元素中的信息,应该与 loc 标记的内容不同。 |
编码广告素材工作 |
CreativeWork |
由此媒体对象编码的 CreativeWork。 |
编码格式 |
文本 |
mp3、mpeg4 等 |
到期时间 |
日期 |
内容过期或不再有用或不再提供的日期。对视频很有用。 |
高度 |
Distance 或 QuantitativeValue |
商品的高度。 |
播放器类型 |
文本 |
必须提供播放器类型,例如 Flash 或 Silverlight。 |
制作公司 |
组织 |
负责制作剧集、视频游戏和剧集等作品的制片公司或工作室 |
发布 |
PublicationEvent |
与剧集、片段或媒体对象相关联的发布事件。 |
regionsAllowed |
Place |
允许使用媒体的区域。如果未指定,则假定在所有地方都是允许的。以 ISO 3166 格式指定国家/地区。 |
requiredSubscription |
Boolean |
指明是否需要为媒体内容订阅(付费或免费)。允许的值为 true 或 false (请注意,早期版本包含“yes”、“no”)。 |
uploadDate |
日期 |
此媒体对象上传到此网站的日期。 |
width |
Distance 或 QuantitativeValue |
商品的宽度。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# MediaObject\n\nType name: [MediaObject](/workspace/gmail/markup/reference/types/MediaObject)\n\nExtends [CreativeWork](/workspace/gmail/markup/reference/types/CreativeWork)\n\n| Name | Type | Description |\n|----------------------|------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| associatedArticle | [NewsArticle](/workspace/gmail/markup/reference/types/NewsArticle) | A NewsArticle associated with the Media Object. |\n| bitrate | [Text](/workspace/gmail/markup/reference/types/Text) | The bitrate of the media object. |\n| contentSize | [Text](/workspace/gmail/markup/reference/types/Text) | File size in (mega/kilo) bytes. |\n| contentUrl | [URL](/workspace/gmail/markup/reference/types/URL) | Actual bytes of the media object, for example the image file or video file. |\n| duration | [Duration](/workspace/gmail/markup/reference/types/Duration) | The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601). |\n| embedUrl | [URL](/workspace/gmail/markup/reference/types/URL) | 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. |\n| encodesCreativeWork | [CreativeWork](/workspace/gmail/markup/reference/types/CreativeWork) | The CreativeWork encoded by this media object. |\n| encodingFormat | [Text](/workspace/gmail/markup/reference/types/Text) | mp3, mpeg4, etc. |\n| expires | [Date](/workspace/gmail/markup/reference/types/Date) | Date the content expires and is no longer useful or available. Useful for videos. |\n| height | [Distance](/workspace/gmail/markup/reference/types/Distance) or [QuantitativeValue](/workspace/gmail/markup/reference/types/QuantitativeValue) | The height of the item. |\n| playerType | [Text](/workspace/gmail/markup/reference/types/Text) | Player type required---for example, Flash or Silverlight. |\n| productionCompany | [Organization](/workspace/gmail/markup/reference/types/Organization) | The production company or studio responsible for the item e.g. series, video game, episode etc. |\n| publication | [PublicationEvent](/workspace/gmail/markup/reference/types/PublicationEvent) | A publication event associated with the episode, clip or media object. |\n| regionsAllowed | [Place](/workspace/gmail/markup/reference/types/Place) | The regions where the media is allowed. If not specified, then it's assumed to be allowed everywhere. Specify the countries in [ISO 3166 format](http://en.wikipedia.org/wiki/ISO_3166). |\n| requiresSubscription | [Boolean](/workspace/gmail/markup/reference/types/Boolean) | Indicates if use of the media require a subscription (either paid or free). Allowed values are `true` or `false` (note that an earlier version had 'yes', 'no'). |\n| uploadDate | [Date](/workspace/gmail/markup/reference/types/Date) | Date when this media object was uploaded to this site. |\n| width | [Distance](/workspace/gmail/markup/reference/types/Distance) or [QuantitativeValue](/workspace/gmail/markup/reference/types/QuantitativeValue) | The width of the item. |"]]