mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-15 16:06:41 +03:00
7fcc72c70c
Related to https://github.com/shaka-project/shaka-player/pull/6988#issuecomment-2211344636
46 lines
1.1 KiB
Markdown
46 lines
1.1 KiB
Markdown
# Screen resolution detection
|
|
|
|
Shaka Player is able to detect the screen resolution and limit the resolution
|
|
on certain devices:
|
|
|
|
## Chromecast
|
|
|
|
We can detect if the device supports 1920x1080 or 3840x2160 (4K).
|
|
|
|
By default, the maximum resolution supported is 1280x720.
|
|
|
|
## Tizen
|
|
|
|
We can detect if the device supports 3840x2160 (4K) or 7680x4320 (8K).
|
|
|
|
By default, the maximum resolution supported is 1920x1080.
|
|
|
|
## WebOS
|
|
|
|
We can detect if the device supports 1280x720, 1920x1080, 3840x2160 (4K) or
|
|
7680x4320 (8K).
|
|
|
|
By default, the maximum resolution supported is 1920x1080.
|
|
|
|
## Xbox
|
|
|
|
We can detect if the device supports 3840x2160 (4K).
|
|
|
|
By default, the maximum resolution supported is 1920x1080.
|
|
|
|
Note: in order to use this feature in a UWP app, you must add the URI of your
|
|
web app in the ContentURIs section of the Package.appxmanifest file and set
|
|
the `WinRT access` field to `All`.
|
|
|
|
## Hisense
|
|
|
|
We can detect if the device supports 3840x2160 (4K).
|
|
|
|
By default, the maximum resolution supported is 1920x1080.
|
|
|
|
## PlayStation 4 & PlayStation 5
|
|
|
|
We can detect if the device supports 3840x2160 (4K).
|
|
|
|
By default, the maximum resolution supported is 1920x1080.
|