Sometimes, developers hardcode the THEOplayer configuration directly into the JavaScript of the HTML page.
In this example, we create a new instance of the TheoPlayer and pass in the video URL or ID. We then call the getDownloadLink() method, which returns a promise that resolves with the video download link. theoplayer video download link