a string but instead of printing that string I want to play the video in browser how can I do that?
You can put the URL on the source of video tag in HTML.
Is there any code to direct download that mp4 file instead of playing in browser and instead of printing the url?
Go redirect to the URL should be enough for download action.
Обсуждают сегодня