I have a video stored on Google Drive with a link that is supposed to provide the raw video file. However, when I click on the link, I am directed to an image instead.
https://drive.google.com/uc?id=xxx
How can I obtain the correct playable link to use the video tag and display the video on my website?
<video src="__link__" controls width=560 height=315></video>
Edit: To simplify the process, I am able to utilize Java in my web application. One potential solution is to fetch the webpage that prompts to download the video anyway, extract the necessary information from the form, convert it into a usable link, and return it. The form includes details such as:
The link generated from this form is unique and changes automatically. However, the correct link format should resemble something like: https://drive.usercontent.google.com/download?export=download&id=[XXX]&uuid=[XXX]&authuser=0&confirm=t&at=[XXX]