TeX - LaTeX Asked on June 28, 2021
Is there a way to supply a html "download" attribute to a URL, to instruct a browser to download the file instead of opening/playing it?
I’ve got some very large video files linked using href in a latex document like so:
href{http://www.my.com/largeVideo.mp4}{Download the large video here}
Unfortunately, when you click this link in the compiled PDF, the video link opens in the default browser, which attempts to play it. As the video is large, the browsers sits there doing nothing, waiting for the video to load.
I’d like the behavior of my Latex document to behave the same way as a URL in a html link would function, automatically opening the "save as" dialogue:
<… a href="http://www.my.com/largeVideo.mp4" download >
Is there a way to achieve this? The "run" command seems to only function for locally hosted files.
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP