I have 2 html pages, movies.html and single.html. In movies.html i have added list of movies, clicking on any movie will take us to single to html along with movie link. I have pasted the code below for better understanding.
<a href="single.html?movieLink=https://drive.google.com/u/0/uc?export=download&confirm=6KcH&id=1oezcBrXr8b-ATkIGD1I9ZQakPP9VX_5W">
Assume the movieLink given redirect to single.html and will start downloading the movie directly. For getting the link in next page i have written a java script code.
But what I want is that I want to redirect the page to single.html, there I have given 2 options 720px and 1080px. After clicking on the resolution needed it should start to download the specific file.
which means I have to pass 2 href links from the movie.html page, how can i do that?