媒体对象
类型名称: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):2024-09-03。
[null,null,["最后更新时间 (UTC):2024-09-03。"],[[["`MediaObject` schema markup provides detailed metadata about media like videos and images, extending the `CreativeWork` type."],["It includes properties for technical specs (bitrate, size, format), content location (URL, embed URL), and associated information (article, production company)."],["`MediaObject` also allows specifying the duration, player requirements, geographic restrictions, and subscription status for the media."],["It supports defining the dimensions (height and width) and linking to relevant creative work or publication events."]]],["The `MediaObject` type details media properties, extending `CreativeWork`. Key information includes: `contentUrl` for the media file, `duration` in ISO 8601 format, `encodingFormat` (e.g., mp3), `contentSize`, `bitrate`, and `uploadDate`. It also specifies associated entities like `NewsArticle`, `CreativeWork`, and `PublicationEvent`. Media player details are provided through `embedUrl` and `playerType`, while access controls include `regionsAllowed` and `requiresSubscription`. `expires`, `height` and `width` are also included.\n"]]