I’m using VR view by Google in my Ionic app. VR view’s docs state that “some older devices cannot decode video larger than 1080p (1920x1080)”.
In my app, the user downloads the video file first, so it’s not streaming the video.
I have two videos: one for newer devices (in 4k), and one for the older devices (in 1080p). I want to check if the device is capable of decoding the 4k video. If not, it should download the 1080p video.
How could I check if a device is capable of decoding 4k?