Video Component Scenarios with Contentstore (transcript-related)

Transcript Upload

When a user uploads a transcript from a video component then, it gets uploaded for each video source added to that Video Component. This also means that uploading will overwrite any existing transcripts for the sources.

Scenario # 1 

  1. Edit Video Component
  2. Enter any video source and upload transcript from Basic Tab
  3. Press Save
  4. Edit Video Component and go to Advanced Tab
  5. Empty the "Default Timed Transcript" 
  6. Press Save

Actual: Uploaded transcript is removed.

Scenario # 2 

  1. Edit Video Component
  2. Enter any video source and upload transcript from Basic Tab
  3. Press Save
  4. Enter another video source who already has 'en' transcript
  5. Basic Tab should show "Timed Transcript Conflict"

Actual: User got to choose From 2 transcripts

Scenario # 3

  1. Edit Video Component
  2. Enter any video source and upload transcript from Basic Tab
  3. Press Save
  4. Edit Video Component and go to Advanced Tab
  5. Enter a sub_id in "Default Timed Transcript" which has a transcript associated
  6. Press Save

Actual: Transcript associated to that sub_id shows up on Video Component.

Scenario # 4

keeping in mind the info from the top.

  1. Edit Video Component
  2. Enter 2 video sources and upload transcript from Basic Tab
  3. Press Save
  4. Edit Video Component and go to Advanced Tab
  5. Note down "Default Timed Transcript" value (i.e. it should be ID of video source – which is added last)
  6. Change "Default Timed Transcript" value to the other video source ID.
  7. Press Save

Actual: Transcript with other source starts to show up on Video Component.

Scenario # 5

  1. Edit Video Component
  2. Enter 2 video sources and upload transcript from Basic Tab (it gets uploaded for the 2 sources)
  3. Note the status "Timed Transcript Found"
  4. Remove one of the sources from Basic Tab

Actual: Observe the status "Timed Transcript Found".

Scenario # 6

  1. Edit Video Component
  2. Go to Advanced Tab
  3. Select language code from "Transcripts" field and upload a transcript for it
  4. Press Save
  5. Edit Video Component and go to Advanced tab
  6. Delete the previously added transcript via "X" button
  7. Save

Actual: Transcript is removed, and will not show up on video component

Scenario # 7

  1. Edit Video Component
  2. Go to Advanced Tab
  3. Select language code from "Transcripts" field and upload a transcript for it
  4. Press Save
  5. Edit Video Component and go to Advanced tab
  6. Replace the previously added transcript via "Replace" button
  7. Save

Actual: Transcript is replaced/updated, and will show up on video component