Custom Liquid - One for Desktop and One for Mobile

Hello, i would like to insert one video for desktop and one for mobile. I already have a code for the custom liquid for looping the video but i want to show different video on the mobile.

Is it possible to change the schema on the custom liquid so i can i upload one video for Desktop and one for Mobile ?

Thank you.

@KetanKumar please if it’s possible help me to solve this problem