媒體物件
類型名稱:MediaObject
擴充 CreativeWork
名稱 |
類型 |
說明 |
關聯文章 |
新聞報導 |
與媒體物件相關聯的新聞文章。 |
bitrate |
Text |
媒體物件的位元率。 |
內容大小 |
Text |
檔案大小 (mega/kilo) 位元組。 |
contentUrl |
網址 |
媒體物件的實際位元組,例如圖片檔或影片檔。 |
持續時間 |
時間長度 |
項目長度 (電影、錄音、活動等),採 ISO 8601 日期格式。 |
embedUrl |
網址 |
指向特定影片播放器的網址,一般來說,這是 embed 標記中 src 元素的資訊,而且不得與 loc 標記的內容相同, |
編碼廣告素材 |
CreativeWork |
此媒體物件編碼的 CreativeWork。 |
編碼格式 |
Text |
mp3、mpeg4 等 |
有效期限 |
日期 |
內容失效且不再實用。適合用於影片。 |
height |
Distance 或 QuantitativeValue |
商品的高度。 |
播放器類型 |
Text |
必須提供播放器類型,例如 Flash 或 Silverlight。 |
製片公司 |
機構組織 |
負責製作作品的製作公司或工作室,例如影集、電玩遊戲、劇集等。 |
出版物 |
PublicationEvent |
與單集節目、短片或媒體物件相關聯的發布事件。 |
regionsAllowed |
地點 |
允許媒體的區域。如未指定,系統會假設任何地方都允許這項功能。請採用 ISO 3166 格式指定國家/地區。 |
需要訂閱 |
布林 |
指出是否須訂閱才能使用媒體 (付費或免費)。允許的值為 true 或 false (請注意,較早版本具有「是」或「否」)。 |
uploadDate |
日期 |
此媒體物件上傳至此網站的日期。 |
width |
Distance 或 QuantitativeValue |
商品的寬度。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-03 (世界標準時間)。
[null,null,["上次更新時間: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"]]