closes MAT-108
flag=none
Primary changes revolved around getting canvas-media to talk to RCS
instead of directly to canvas. This necessitated passing more
info from canvas -> rce -> canvas-media so it can connect.
In the process, merged the 2 functions that uploaded closed captions
into one.
the change in root.js that lazy loads tinyRCE is to get the
canvas-rce bundle size below size limits, which it blew
after a rebase.
test plan:
This should work with you config/dynamic_settings.yml
development.config.canvas.rich-content-service.app-host
value = 'http://host:port'
or simply 'host:port'
- in the RCE, upload a video with closed caption
using the Media > Upload/Record command.
> expect the video to show up with CC
- edit the captions in the video options tray
> expect the captions to be updated
> bonus result: no console warning about missing file.name
prop from ClosedCaptionPanel
- in the RCE, open Upload Document and select
a video.
> expect the video to upload an show up.
- create a media recording type assignment
- enable the "Assignment Enhancements - Student" feature
- as a student, visit the assignment
- click the "Recort/Upload" button
> expect the video upload and CC feature to work as expected
> bonus fix: the CCs should be at the bottom of the video
Change-Id: I7b574bb67998072324954a6b481e0c4d3b3251de
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/264109
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jeff Largent <jeff.largent@instructure.com>
QA-Review: Jeff Largent <jeff.largent@instructure.com>
Product-Review: Ed Schiebel <eschiebel@instructure.com>