The Media Session API's
MediaImage
dictionary describes the images associated with the media resource
MediaMetadata
.
Its contents can be displayed by the
用户代理
in appropriate contexts, like player interface to show the current playing video or audio track.
src
The URL from which user agent can fetch the image's data.
sizes
Specifies the resource in multiple sizes so that user agent does not have to scale a single image.
type
| 规范 | 状态 | 注释 |
|---|---|---|
|
Media Session Standard
The definition of 'MediaImage' in that specification. |
草案 | 初始定义。 |
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
No compatibility data found. Please contribute data for "api.MediaImage" (depth: 1) to the MDN 兼容性数据存储库 .
MediaImage