-1
我有一個html頁面,我添加了10個視頻。當我點擊一個視頻時,它開始下載。但是現在我想在用戶點擊下載所有鏈接時下載所有視頻。像谷歌或一個驅動器。如何從網站下載所有視頻?
<a href="http://www.example.com/videos/video1.mov" target="_blank" class="document">Video 1</a>
<a href="http://www.example.com/videos/video2.mov" target="_blank" class="document">Video 2</a>
<a href="http://www.example.com/videos/" target="_blank">Download All</a>
將它們放入.zip文件並鏈接到'videos/all.zip'? –
這需要一些額外的空間。我可以抓住所有視頻並將它們轉換爲zip文件夾(客戶端站點)? – Ironman
也許[JSZip](https://stuk.github.io/jszip/)。看過一些[示例](https://stuk.github.io/jszip/documentation/examples.html)後,它顯得很簡單。 – ThisClark