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
- Edit Video Component
- Enter any video source and upload transcript from Basic Tab
- Press Save
- Edit Video Component and go to Advanced Tab
- Empty the "Default Timed Transcript"
- Press Save
Actual: Uploaded transcript is removed.
Scenario # 2
- Edit Video Component
- Enter any video source and upload transcript from Basic Tab
- Press Save
- Enter another video source who already has 'en' transcript
- Basic Tab should show "Timed Transcript Conflict"
Actual: User got to choose From 2 transcripts
Scenario # 3
- Edit Video Component
- Enter any video source and upload transcript from Basic Tab
- Press Save
- Edit Video Component and go to Advanced Tab
- Enter a
sub_id
in "Default Timed Transcript" which has a transcript associated - Press Save
Actual: Transcript associated to that sub_id
shows up on Video Component.
Scenario # 4
keeping in mind the info from the top.
- Edit Video Component
- Enter 2 video sources and upload transcript from Basic Tab
- Press Save
- Edit Video Component and go to Advanced Tab
- Note down "Default Timed Transcript" value (i.e. it should be ID of video source – which is added last)
- Change "Default Timed Transcript" value to the other video source ID.
- Press Save
Actual: Transcript with other source starts to show up on Video Component.
Scenario # 5
- Edit Video Component
- Enter 2 video sources and upload transcript from Basic Tab (it gets uploaded for the 2 sources)
- Note the status "Timed Transcript Found"
- Remove one of the sources from Basic Tab
Actual: Observe the status "Timed Transcript Found".
Scenario # 6
- Edit Video Component
- Go to Advanced Tab
- Select language code from "Transcripts" field and upload a transcript for it
- Press Save
- Edit Video Component and go to Advanced tab
- Delete the previously added transcript via "X" button
- Save
Actual: Transcript is removed, and will not show up on video component
Scenario # 7
- Edit Video Component
- Go to Advanced Tab
- Select language code from "Transcripts" field and upload a transcript for it
- Press Save
- Edit Video Component and go to Advanced tab
- Replace the previously added transcript via "Replace" button
- Save
Actual: Transcript is replaced/updated, and will show up on video component