Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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?
    • 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 – 
      Jira Legacy
      serverJIRA (openedx.atlassian.net)
      serverId13fd1930-5608-3aac-a5dd-21b934d3a4b4
      keyEDUCATOR-323
       This is for v1.
    • We also need to change the transcript backend module to incorporate new flow i.e. HLS – HTML5 – YT for V2V2.
    • Currently, a transcript file is shared among the video components having the same external source url –
      Jira Legacy
      serverJIRA (openedx.atlassian.net)
      serverId13fd1930-5608-3aac-a5dd-21b934d3a4b4
      keyTNL-6539
      . So, when a video component modifies its transcript file, changes will also get reflected for other video components which are using it. 
    • 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.

...

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-val
      • edX 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.