How can i download videos by button?

i tried file transfer from docs but it didn’t work. maybe I didn’t use it correctly. The thing is i want to download videos from dropbox or google drive when i click a buttun because i want to play the videos offline but their size are big so i want to download what is important to the user.