Finally, I found this article by searching on Google. The problem is solved after applying a solution mentioned there. I was already logging in to multiple accounts in Google Drive. I signed out of all the accounts from Google Drive and signed in again with one account. Now I can play videos from Google Drive without any issue.