What is the ruling on making comedy videos on my free time to post on social media?

By default it is not haram provided that the following conditions are met:

1- Nothing inappropriate is said in the videos

2- Nothing false is mentioned in the videos

I also recommend that you make the videos purposeful and education, with a humorous twist to them, such that your viewers learn something in addition to getting a nice laugh from them.