- Home /
Change video according to device specs
I am using the Handheld.PlayFullScreenMovie method to play mp4 videos for a mobile game. The videos play normally on some devices and not at all at others. I lowered the video resolution and they played normally on all the devices. I want to play the lower resolution videon only for the lower spec devices and the high quality videos for the rest. I have tried checking for the Screen.dpi and Screen.currentResolution to no avail. What else could I check for to define which video to play for every device?
I can't give you a concrete answer, but the best thing I can tell you is to test, test, test.
You need to test it on as many devices as possible while recording their information to deter$$anonymous$$e what is actually causing it to fail. Once you've narrowed down the cause, fixing it becomes much easier. If you keep trying to fix it with guess-and-check, you're setting yourself up for frustration.