paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 8ac0fa0cd65c5cf5eb742daa6ad4c6df6d1f29d6
parent 995a0c9cb8a7c11c9eb537869916809d5fd84320
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Wed, 27 Mar 2019 23:07:46 -0400

Make file downloads more sensible

Move the files for the podcasts into their own folder in share/ to
keep things organized. Also add file sizes to the page so users will
know how large the file they are going to download will be.

Diffstat:
Mpages/dnd-podcast.md | 24++++++++++++------------
Mpublic/html/dnd-podcast.html | 24++++++++++++------------
Rpublic/share/test-recording-lq.mp3 -> public/share/podcasts/e0/test-recording-lq.mp3 | 0
Rpublic/share/test-recording-slq.mp3 -> public/share/podcasts/e0/test-recording-slq.mp3 | 0
Rpublic/share/test-recording.mkv -> public/share/podcasts/e0/test-recording.mkv | 0
Rpublic/share/test-recording.mp3 -> public/share/podcasts/e0/test-recording.mp3 | 0
Rpublic/share/test-recording.mp4 -> public/share/podcasts/e0/test-recording.mp4 | 0
7 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/pages/dnd-podcast.md b/pages/dnd-podcast.md @@ -34,36 +34,36 @@ This is a test recording to ensure that the website functions as expected. Watch the video (MP4) in your browser: <video width="320" height="240" controls> - <source src="share/test-recording.mp4" type="video/mp4"> + <source src="share/podcasts/e0/test-recording.mp4" type="video/mp4"> Your browser does not support the HTML5 video tag. </video> Listen to the audio (128kbps MP3) in your browser: <audio controls> - <source src="share/test-recording.mp3" type="audio/mp3"> + <source src="share/podcasts/e0/test-recording.mp3" type="audio/mp3"> Your browser does not support the HTML5 audio tag. </audio You can download the episode in various formats using the links below: <ul> - <li><a href="share/test-recording.mkv" - download="test-recording.mkv">Download the MKV</a></li> + <li><a href="share/podcasts/e0/test-recording.mkv" + download="test-recording.mkv">7.9 MiB — Download the MKV</a></li> - <li><a href="share/test-recording.mp4" - download="test-recording.mp4">Download the MP4</a></li> + <li><a href="share/podcasts/e0/test-recording.mp4" + download="test-recording.mp4">1.3 MiB — Download the MP4</a></li> - <li><a href="share/test-recording.mp3" - download="test-recording.mp3">Download the 128kbps MP3 (Audio + <li><a href="share/podcasts/e0/test-recording.mp3" + download="test-recording.mp3">379 KiB — Download the 128kbps MP3 (Audio Only)</a></li> - <li><a href="share/test-recording-lq.mp3" - download="test-recording-lq.mp3">Download the 64kbps MP3 (Audio + <li><a href="share/podcasts/e0/test-recording-lq.mp3" + download="test-recording-lq.mp3">191 KiB — Download the 64kbps MP3 (Audio Only)</a></li> - <li><a href="share/test-recording-slq.mp3" - download="test-recording-slq.mp3">Download the 32kbps MP3 (Audio + <li><a href="share/podcasts/e0/test-recording-slq.mp3" + download="test-recording-slq.mp3"> &nbsp;95 KiB — Download the 32kbps MP3 (Audio Only)</a></li> </ul> diff --git a/public/html/dnd-podcast.html b/public/html/dnd-podcast.html @@ -60,14 +60,14 @@ on their commutes... you get the idea.</p> <p>Watch the video (MP4) in your browser:</p> <p><video width="320" height="240" controls> - <source src="share/test-recording.mp4" type="video/mp4"> + <source src="share/podcasts/e0/test-recording.mp4" type="video/mp4"> Your browser does not support the HTML5 video tag. </video></p> <p>Listen to the audio (128kbps MP3) in your browser:</p> <p><audio controls> - <source src="share/test-recording.mp3" type="audio/mp3"> + <source src="share/podcasts/e0/test-recording.mp3" type="audio/mp3"> Your browser does not support the HTML5 audio tag. </audio</p> @@ -75,22 +75,22 @@ on their commutes... you get the idea.</p> <ul> - <li><a href="share/test-recording.mkv" - download="test-recording.mkv">Download the MKV</a></li> + <li><a href="share/podcasts/e0/test-recording.mkv" + download="test-recording.mkv">7.9 MiB — Download the MKV</a></li> - <li><a href="share/test-recording.mp4" - download="test-recording.mp4">Download the MP4</a></li> + <li><a href="share/podcasts/e0/test-recording.mp4" + download="test-recording.mp4">1.3 MiB — Download the MP4</a></li> - <li><a href="share/test-recording.mp3" - download="test-recording.mp3">Download the 128kbps MP3 (Audio + <li><a href="share/podcasts/e0/test-recording.mp3" + download="test-recording.mp3">379 KiB — Download the 128kbps MP3 (Audio Only)</a></li> - <li><a href="share/test-recording-lq.mp3" - download="test-recording-lq.mp3">Download the 64kbps MP3 (Audio + <li><a href="share/podcasts/e0/test-recording-lq.mp3" + download="test-recording-lq.mp3">191 KiB — Download the 64kbps MP3 (Audio Only)</a></li> - <li><a href="share/test-recording-slq.mp3" - download="test-recording-slq.mp3">Download the 32kbps MP3 (Audio + <li><a href="share/podcasts/e0/test-recording-slq.mp3" + download="test-recording-slq.mp3"> &nbsp;95 KiB — Download the 32kbps MP3 (Audio Only)</a></li> </ul> diff --git a/public/share/test-recording-lq.mp3 b/public/share/podcasts/e0/test-recording-lq.mp3 Binary files differ. diff --git a/public/share/test-recording-slq.mp3 b/public/share/podcasts/e0/test-recording-slq.mp3 Binary files differ. diff --git a/public/share/test-recording.mkv b/public/share/podcasts/e0/test-recording.mkv Binary files differ. diff --git a/public/share/test-recording.mp3 b/public/share/podcasts/e0/test-recording.mp3 Binary files differ. diff --git a/public/share/test-recording.mp4 b/public/share/podcasts/e0/test-recording.mp4 Binary files differ.