website/www/conservancy/static
Bradley M. Kuhn 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
..
about Remove various folks no longer involved with organization. 2022-04-13 11:33:20 -07:00
activities Fix markup errors on "What We Do" causing layout issues. 2021-11-19 17:14:29 +11:00
admin admin: Fix query parameter manipulation in showAddAnotherPopup. 2017-05-23 12:13:04 -04:00
copyleft-compliance Remove stray “ 2021-11-30 06:23:22 -08:00
css increase font size for full match 2022-01-04 15:42:03 -08:00
docs Handle tricky problems to get subtitles working on intro video 2022-05-12 17:15:30 -07:00
donate add employer matching to /donate 2021-12-16 13:51:24 -08:00
error Apply max widths and margins to all pages. 2021-10-19 06:47:58 -07:00
img update jmp logo 2022-02-15 11:58:19 -08:00
js progress bar: Drop JS, make mobile friendly, match design to new site. 2021-11-16 13:25:39 +11:00
learn Learn page is not coming soon anymore! 2021-10-21 08:46:07 -07:00
npoacct Rename "supporter" to "sustainer" in templates and URLs. 2021-10-19 06:47:58 -07:00
press Link to article in the Register about Neo4j and AGPLv3 2022-04-08 05:20:21 -07:00
privacy-policy Rename "supporter" to "sustainer" in templates and URLs. 2021-10-19 06:47:58 -07:00
projects remove deb from eval, and some projects 2022-01-21 13:17:30 -08:00
sustainer remove supporter header image 2021-10-19 06:47:58 -07:00
__init__.py First pass at migration to Django 1.7 2015-03-03 18:40:18 +00:00
coming-soon.html Make page look prettier. 2021-10-19 06:50:25 -07:00
favicon.ico Changes to implement new logo, as requested by Tony. 2013-02-28 15:42:06 -05:00
google536264c707362f55.html Add Google check details. 2016-08-19 07:45:51 -07:00
GPLv3 Move javascript code from HTML files to a .js file 2014-12-02 11:28:37 -05:00
robots.txt add taxinfo gpg key and update robots.txt with it 2022-03-31 12:53:38 -07:00
views.py Handle UnicodeEncodeErrors from junk URLs. 2022-03-15 10:59:47 +11:00