website/www/conservancy/templates
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
..
assignment assignment: Accept current date anywhere on earth. 2021-12-17 10:54:47 +11:00
blog Revert removal of "safe" template tag from blog/news headlines. 2021-12-18 08:58:53 +11:00
ccs_upload Add simple CCS upload (no JavaScript). 2021-12-03 11:38:21 +11:00
contractpatch blog: Refactor entry rendering into a partial. 2016-12-30 23:12:09 -05:00
feeds Revert removal of "safe" template tag from blog/news headlines. 2021-12-18 08:58:53 +11:00
news Revert removal of "safe" template tag from blog/news headlines. 2021-12-18 08:58:53 +11:00
submenus Remove "The"s from top menu. 2021-10-21 20:36:41 -07:00
supporter Handle tricky problems to get subtitles working on intro video 2022-05-12 17:15:30 -07:00
500.html Apply max widths and margins to all pages. 2021-10-19 06:47:58 -07:00
base_about.html Move sub-menus to RHS and re-enable on mobile. 2021-11-19 17:02:59 +11:00
base_blog.html Move sub-menus to RHS and re-enable on mobile. 2021-11-19 17:02:59 +11:00
base_compliance.html Move sub-menus to RHS and re-enable on mobile. 2021-11-19 17:02:59 +11:00
base_conservancy.html increase font size for full match 2022-01-04 15:42:03 -08:00
base_error.html Conservancy website as it currently looks; unfortunately, old history before this cannot easily be retrieved 2010-09-26 17:20:05 -04:00
base_learn.html Move sub-menus to RHS and re-enable on mobile. 2021-11-19 17:02:59 +11:00
base_news.html Repair menu highlighting, both for main menu and submenus 2021-10-21 08:39:47 -07:00
base_press.html Move sub-menus to RHS and re-enable on mobile. 2021-11-19 17:02:59 +11:00
base_projects.html Move sub-menus to RHS and re-enable on mobile. 2021-11-19 17:02:59 +11:00
base_standard.html Conservancy website as it currently looks; unfortunately, old history before this cannot easily be retrieved 2010-09-26 17:20:05 -04:00
base_vizio.html Add selected highlight to top feature menu. 2021-12-03 15:04:54 +11:00
feeds.html s/conservancy.softwarefreedom.org/sfconservancy.org/g 2010-10-03 20:28:09 -04:00
frontpage.html Handle tricky problems to get subtitles working on intro video 2022-05-12 17:15:30 -07:00
opengraph_partial.html Revert removal of "safe" template tag from blog/news headlines. 2021-12-18 08:58:53 +11:00
opengraph_urllist_partial.html blog/news: Add Open Graph metadata to entry pages. 2017-11-07 11:17:33 -05:00
socials_partial.html First-pass implementation of new design for home page. 2021-10-19 06:32:45 -07:00
sponsors.html Fix the anchor. 2022-01-01 20:19:21 -08:00