I often get several project on Web Application Development, you can see my portfolio.
From the problem that you post, I assume that there are 2 possibilities, between query database logic or php code logic that used to random video.
Please do not hesitate to contact me, if you require some information from me.
Regards,
Evan Varian
skype : evanvarian