canvas-lms/packages
Ed Schiebel d06e44eed8 Add Auto Show Closed Captions user feature
closes MAT-40
flag=auto_show_cc

Requested by the Columbus Public Schools (my homies), create a
setting so videos automatically show CCs when playing
videos.

test plan:
  - create RCE content and include a video
  - add a couple CC files in different languages, including the
    user's language (the .srt files don't have to be in another language,
    just tell canvas they are)
  - save
  > expect no CC without selecting them from the CC menu in the
    media player
  - click on the user's avatar to open the user's tray and choose Settings
  - enable the  "Automaticaly show media captions" feature
  - refresh to the page with RCE content
  > expect the CCs in the user's language to automatically show
  - change the user's language to another one you have CCs for
  - refresh the page with the video
  > expect the new language's CCs
  - change the user's language to something not in the CC list
    and not English
  - refresh the video page
  > no CCs and nothing bad happens.

note: I wanted to test with with various combinations of en, en-US,
and en-GB but canvas won't let you add CCs in regional locales. I don't
know why, but that's a problem for another day.

Change-Id: I355fd12c5ea42fe5bc8e776a0c602c2857aaf4c6
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/262500
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Nate Armstrong <narmstrong@instructure.com>
QA-Review: Nate Armstrong <narmstrong@instructure.com>
Product-Review: Ed Schiebel <eschiebel@instructure.com>
2021-04-12 17:44:51 +00:00
..
array-erase rename some things 2021-04-06 01:12:49 +00:00
babel-preset-pretranslated-format-message Run prettier on packages/ 2019-10-11 19:29:16 +00:00
babel-preset-pretranslated-translations-package-format-message Use new translation package for packages 2020-01-03 20:34:46 +00:00
backbone-identity-map rename some things 2021-04-06 01:12:49 +00:00
backbone-input-filter-view rename some things 2021-04-06 01:12:49 +00:00
backbone-input-view rename some things 2021-04-06 01:12:49 +00:00
bootstrap-dropdown rename some things 2021-04-06 01:12:49 +00:00
bootstrap-select rename some things 2021-04-06 01:12:49 +00:00
browser-sniffer rename some things 2021-04-06 01:12:49 +00:00
browserslist-config-canvas-lms rename canvas-supported-browsers to browserslist-config-canvas-lms 2019-08-08 20:12:31 +00:00
canvas-media Add Auto Show Closed Captions user feature 2021-04-12 17:44:51 +00:00
canvas-planner Better weekly planner focus management 2021-04-06 17:01:29 +00:00
canvas-rce Treat content type 'video' and 'video/*' as videos 2021-04-09 19:50:05 +00:00
compose rename some things 2021-04-06 01:12:49 +00:00
convert-case rename some things 2021-04-06 01:12:49 +00:00
date-js rename some things 2021-04-06 01:12:49 +00:00
defer-promise rename some things 2021-04-06 01:12:49 +00:00
deparam rename some things 2021-04-06 01:12:49 +00:00
ember rename some things 2021-04-06 01:12:49 +00:00
escape-regex rename some things 2021-04-06 01:12:49 +00:00
force-screenreader-to-reparse rename some things 2021-04-06 01:12:49 +00:00
get-cookie rename some things 2021-04-06 01:12:49 +00:00
html-escape rename some things 2021-04-06 01:12:49 +00:00
intl-polyfills rename some things 2021-04-06 01:12:49 +00:00
jest-moxios-utils add color output to packages/ test runners 2021-03-15 19:33:31 +00:00
jquery-fancy-placeholder rename some things 2021-04-06 01:12:49 +00:00
jquery-kyle-menu rename some things 2021-04-06 01:12:49 +00:00
jquery-pageless rename some things 2021-04-06 01:12:49 +00:00
jquery-popover rename some things 2021-04-06 01:12:49 +00:00
jquery-qtip rename some things 2021-04-06 01:12:49 +00:00
jquery-scroll-into-view rename some things 2021-04-06 01:12:49 +00:00
jquery-scroll-to-visible rename some things 2021-04-06 01:12:49 +00:00
jquery-selectmenu rename some things 2021-04-06 01:12:49 +00:00
jquery-sticky rename some things 2021-04-06 01:12:49 +00:00
jquery-tinypubsub rename some things 2021-04-06 01:12:49 +00:00
jquery-tree rename some things 2021-04-06 01:12:49 +00:00
jqueryui rename some things 2021-04-06 01:12:49 +00:00
js-utils prefetch user_ids in gradebook 2020-03-19 14:49:20 +00:00
k5uploader Run prettier on packages/ 2019-10-11 19:29:16 +00:00
link-header-parsing rename some things 2021-04-06 01:12:49 +00:00
lodash-underscore rename some things 2021-04-06 01:12:49 +00:00
make-promise-pool rename some things 2021-04-06 01:12:49 +00:00
mathml Use equation image src attribute as the source of truth 2021-04-12 14:58:30 +00:00
obj-flatten rename some things 2021-04-06 01:12:49 +00:00
obj-select rename some things 2021-04-06 01:12:49 +00:00
obj-unflatten rename some things 2021-04-06 01:12:49 +00:00
old-copy-of-react-14-that-is-just-here-so-if-analytics-is-checked-out-it-doesnt-change-yarn.lock upgrade react from 15.x to 16.x 2018-09-26 19:04:47 +00:00
parse-browser-info rename some things 2021-04-06 01:12:49 +00:00
prevent-default rename some things 2021-04-06 01:12:49 +00:00
query-string-encoding rename some things 2021-04-06 01:12:49 +00:00
react-dnd-test-backend rename some things 2021-04-06 01:12:49 +00:00
ready Now that we have streaming, execute JS sooner 2019-09-19 23:10:43 +00:00
round rename some things 2021-04-06 01:12:49 +00:00
sanitize-html-with-tinymce rename some things 2021-04-06 01:12:49 +00:00
sanitize-url rename some things 2021-04-06 01:12:49 +00:00
shortid rename some things 2021-04-06 01:12:49 +00:00
slickgrid rename some things 2021-04-06 01:12:49 +00:00
str-pluralize rename some things 2021-04-06 01:12:49 +00:00
strip-tags rename some things 2021-04-06 01:12:49 +00:00
translations add color output to packages/ test runners 2021-03-15 19:33:31 +00:00
url-encoding rename some things 2021-04-06 01:12:49 +00:00
validated-apollo rename some things 2021-04-06 01:12:49 +00:00
with-breakpoints rename some things 2021-04-06 01:12:49 +00:00