Commit graph

575 commits

Author SHA1 Message Date
2565767830 Handle tricky problems to get subtitles working on intro video
First and foremost, the mime type has to be supported by the web
server.  Either you have to add a `.vtt` mimetype, *or* just put it
as a `.txt` file.  I chose the latter since it doesn't require a
custom Apache configuration.

Second, even if you make it a `.txt` file, using a CDN does not seem
to work.  I suspect that maybe CDNs do really weird things with
mimetypes when they server them, or maybe the <track> element just
really doesn't like it when the URL is 301'd. 🤷

Anyway, with these two changes: using a `.txt` file, and hosting the
file locally, the subtitles now work properly!

Note, if you use the `default` attribute in the <track> tag, it'll
turn them on by default.  Leaving it off does allow the user to turn
them on in my tests in both Chromium and Firefox.
2022-05-12 17:15:30 -07:00
f0a78d5f9f Correct subtitle file name. 2022-05-12 16:12:55 -07:00
adb051f42f Add track tag for subtitles; make source tag HTML5 closed. 2022-05-12 15:59:53 -07:00
ba6f17394e Sustainer page — note about video; frontpage — wider; add youtube
Link to the Youtube version for browsers where <video> element
doesn't work.

Note on the sustainer page that folks should watch it to learn about
us.

Widen into the big box on front page.
2022-05-12 15:39:29 -07:00
4a7cbb6845
put intro video on first page and replace holiday card 2022-05-12 15:26:51 -07:00
951682828c Switch alert box to talk about Neo4j 2022-03-30 10:31:38 -07:00
e3da223f8e
add open letter to front page of website 2022-02-01 09:46:05 -08:00
60616f4226
mdash html typos 2022-01-05 10:06:33 -08:00
f8f3cb2f36
increase font size for full match 2022-01-04 15:42:03 -08:00
7a49bf08d6
separate divs and add css for exceeded 2022-01-04 14:34:28 -08:00
c586ffb383 Make additional bar when time left with donation exceeding goal
This is a first draft of making another bar appear after the
completed "matched!" bar that will show how much extra we've gotten
beyond the match amount.
2022-01-04 14:05:16 -08:00
f22dd3306b
fix link to vizio update 2022-01-04 07:19:49 -08:00
59b705aac1
move holiday banner and put motion to remand info 2022-01-03 15:42:59 -08:00
2a808a58c6 Fix the anchor. 2022-01-01 20:19:21 -08:00
9b63f8642f
grammar fix 2021-12-29 10:29:38 -08:00
385863c6e7
change language around $1.7m 2021-12-29 10:20:42 -08:00
0d8ecb8471
add motion to remand to frontpage and update TotW 2021-12-28 18:07:57 -07:00
a4690092b5 Restore anchor for Supporters; #supporters URL links may be common 2021-12-27 13:01:28 -08:00
801b145757 Remove holiday greeting from every page. 2021-12-27 09:40:02 -08:00
a3b10fc24c Even more space is ok here. 2021-12-24 17:33:14 -08:00
792892b4dd Take up more of the screen. 2021-12-24 17:29:29 -08:00
d0045a9e7d Add CCS and add video to sustainer page. 2021-12-24 17:28:03 -08:00
60147dba8b Formatting improvement. 2021-12-24 17:23:55 -08:00
351e3dcb20 Use video tag instead of image with a link to the video. 2021-12-24 17:22:09 -08:00
b2be8f14e5 Remove stray character. 2021-12-24 17:17:12 -08:00
a543d38cb3 Slightly better formatting. 2021-12-24 17:16:35 -08:00
208dfe2681 Correct location of link. 2021-12-24 17:11:32 -08:00
7fe9c07ceb Add holiday card to banner at top for next few days
Also, fix a few URLs .
2021-12-24 17:08:47 -08:00
0db5e00516
visual postcard link and add to /sustainer 2021-12-23 16:52:45 -05:00
81cbfc96c4
add postcard to frontpage 2021-12-23 15:10:47 -05:00
1c38ad0179
Revert removal of "safe" template tag from blog/news headlines.
Conservancy use HTML entities in their titles.
2021-12-18 08:58:53 +11:00
3227e4ce9f
remove number of sustainers 2021-12-17 09:43:02 -08:00
14abe07a4a
Remove unnecessary use of "safe" template tag.
This tag marks a variable as not requiring escaping by the template engine,
potentially creating cross-site scripting vulnerabilities, so shouldn't be used
unless absolutely necessary. In these cases, I don't think it's necessary.
2021-12-17 21:55:47 +11:00
7374c9f915
assignment: Accept current date anywhere on earth. 2021-12-17 10:54:47 +11:00
6e380dba29
assignment: Apply further wording updates from Pam/Denver. 2021-12-17 09:53:13 +11:00
52c0eb8e6c
assignment: Mention 7 days on form. 2021-12-11 10:40:07 +11:00
b0263491a0
assignment: Validate that end date is provided if you didn't choose open-ended. 2021-12-10 18:37:13 +11:00
530890f6ad
assignment: Apply Denver's requested changes. 2021-12-10 11:33:37 +11:00
35a8de7f07
Add missing template. 2021-12-07 17:02:04 +11:00
0565f9b308
Update the assignment form with feedback from Pam/Denver. 2021-12-07 16:55:45 +11:00
2b1fd9ab90
Add assignment date range. 2021-12-07 09:59:40 +11:00
780e0b8dbf
Add assignment thanks page. 2021-12-07 09:59:38 +11:00
a53a4560cd
Add assignment template. 2021-12-07 09:58:56 +11:00
3c8f363537
Add selected highlight to top feature menu. 2021-12-03 15:04:54 +11:00
9a06def0e7
Add simple CCS upload (no JavaScript). 2021-12-03 11:38:21 +11:00
e11e6ff451 Update glossary term of the week to CCS. 2021-11-30 06:23:22 -08:00
1408bafea5 Shorten DMCA text in the call-out since news is getting stale. 2021-11-30 06:23:22 -08:00
9b48cc94e6 Continuing saga of the sizing chart problems for original shirts
Gildan removed the sizing chart entirely from their website again
after yet another redesign.  Originally, we deep-linked into files in
their CDN for the charts, but it appears that in 5c72071 that I
introduced cut-and-paste error on the sizing charts.  I cannot find
the original links, but finally I simply decided we'd mirror the
files in our CDN, which is where these now link to.

I suspect that I didn't do this to start for worrying about copyright
infringement, but upon second thought, I think it's very reasonably
fair use for us to distribute these images.  We bought a lot of
t-shirts from Gildan and just trying to sell through.
2021-11-27 10:51:51 -08:00
4c3661ad19
progress bar: Remove display-table vertical align workaround.
Was causing some display glitches on some browsers. Using nested flexbox instead.
2021-11-26 09:10:25 +11:00
a6dcb714b8 Remove one event per discussion with karen. 2021-11-23 10:12:55 -08:00