...
- For YT videos, we get the duration and video image from YT API.
- Analytics team also uses YT API to get the video duration
- Transcripts
- Do we need to rely on YT for transcripts if not what are the options we've here to provide as alternative ?
- How will the authors generate/author transcripts if we do not rely on YT subs?
- Is this manual process and we shouldn't care?
- How will the authors generate/author transcripts if we do not rely on YT subs?
- Simplify the transcripts to incorporate new flow because currently we rely on YT transcripts. This is kind of blocker to fully support the HLS/HTML5 videos –
This is for v1.Jira Legacy server JIRA (openedx.atlassian.net) serverId 13fd1930-5608-3aac-a5dd-21b934d3a4b4 key EDUCATOR-323 We also need to change the transcript backend module to incorporate new flow i.e. HLS – HTML5 – YT forV2V2.- Currently, a transcript file is shared among the video components having the same external source url –
. So, when a video component modifies its transcript file, changes will also get reflected for other video components which are using it.Jira Legacy server JIRA (openedx.atlassian.net) serverId 13fd1930-5608-3aac-a5dd-21b934d3a4b4 key TNL-6539 - Should we use edx-val subtitles for the valid edx_video_ids?: https://github.com/edx/edx-val/blob/master/edxval/models.py#L164-L209. If so then following can be considered:
Provide an option to upload transcripts on video uploads page – probably an implicit call to edx-val endpoint to create the subtitle given the language.- Use these subtitles for the video components that are using edx-val api to fetch the video encodings.
- What if the transcripts are not available in edx-val for an edx_video_id?
Upload transcript from video uploads page- Use existing transcripts(if any) from contentstore (i.e. which are primarily created for external sources) to generate subtitles for edx_video_id in edx-val.
- Do we need to rely on YT for transcripts if not what are the options we've here to provide as alternative ?
...
There are following possibilities to consider
edx_video_id won't render the video and only external source(s) will work. This would be done via some domain check maybe ?- edX will not pay for their playbacks.
edx_video_id renders the video with lowest bandwidth – Not good solution, edX still pay for videos.check if open edX instance, render the lowest bandwidth video from edx-valedX still pays for the playbacks.
- S3 signed urls if applicable ??
Tests
- The Video JS tests are still flaky - causing many Jenkins re-runs. Consider stepping back and rethinking the tests to completely eliminate these issues.
- Eliminate dependency on the YouTube server
- Replace Bokchoy tests that currently access YouTube as part of test execution
- Create minimal end-to-end integration tests instead for accessing YouTube and verifying API expectations haven't changed.
- Currently we rely on Youtube API response to decide whether to run the tests or just skip them if YT is not available. Try to eliminate this dependency. These are very dangerous assumptions.