Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[null,null,["Dernière mise à jour le 2025/07/25 (UTC)."],[[["\u003cp\u003e\u003ccode\u003echrome.cast.media.VideoInformation\u003c/code\u003e provides details about video resolution and High Dynamic Range (HDR) properties.\u003c/p\u003e\n"],["\u003cp\u003eIt includes \u003ccode\u003ewidth\u003c/code\u003e, \u003ccode\u003eheight\u003c/code\u003e, and \u003ccode\u003ehdrType\u003c/code\u003e to describe video dimensions and HDR format.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ehdrType\u003c/code\u003e specifies the High Dynamic Range type using the \u003ccode\u003echrome.cast.media.HdrType\u003c/code\u003e enum.\u003c/p\u003e\n"]]],[],null,["# Class: VideoInformation\n\nchrome.[cast](/cast/docs/reference/web_sender/chrome.cast).[media](/cast/docs/reference/web_sender/chrome.cast.media).VideoInformation\n======================================================================================================================================\n\nclass static\n\nVideo information such as video resolution and High Dynamic Range (HDR).\n\nConstructor\n-----------\n\n### VideoInformation\n\nnew\nVideoInformation(width, height, hdrType)\n\n| #### Parameter ||\n|---------|------------------------------------------------------------------------------------------------------------------------------------------|\n| width | number Width. |\n| height | number Height. |\n| hdrType | [chrome.cast.media.HdrType](/cast/docs/reference/web_sender/chrome.cast.media#.HdrType) High Dynamic Range type. Value must not be null. |\n\nProperties\n----------\n\n### hdrType\n\nnon-null [chrome.cast.media.HdrType](/cast/docs/reference/web_sender/chrome.cast.media#.HdrType)\n\nVideo width.\n\n### height\n\nnumber\n\nVideo width.\n\n### width\n\nnumber\n\nVideo width."]]