This topic describes how to implement 4K / 8K UHD video playback in your application.
AVPlay API
ProductInfo API
using AVPlay
Samsung Smart TVs support 4K / 8K UHD video playback. Video in 4K UHD has a resolution of 3840x2160 px. Video in 8K has a resolution of 7680x4320 px.
Only some media formats can be played in 4K / 8K UHD resolution on Samsung TVs. For more information on the supported codecs, see Specifications.
To implement 4K / 8K UHD video playback:
isUdPanelSupported()
if (webapis.productinfo.isUdPanelSupported()){ console.log("4K UHD is supported"); } else { console.log("4K UHD is not supported"); }
(2) 8K UHD video playback using is8KPanelSupported()method of the ProductInfo API:
is8KPanelSupported()
if (webapis.productinfo.is8KPanelSupported()){ console.log("8K UHD is supported"); } else { console.log("8K UHD is not supported"); }
Implement video playback using the AVPlay API. For more information, see Using AVPlay.
For more information on 4K / 8K adaptive streaming, see Adaptive Streaming.