openedx / openedx/openedx-platform

Implement video duration extraction for YouTube-hosted content

Open
#36,988 0 comments 0 reactions 1 assignee View on GitHub

@dwong2708 is already working on this.

Since Jul 4, 2025.

Dominant language
Python
Stars
8.2k
Forks
4.4k
Avg merge
6d 18h
Merged PRs (30d)
42

Description

Description

To collect the duration of all videos in a course, we can start by retrieving this information for YouTube-hosted videos. The process should be asynchronous to avoid negatively impacting the user experience, especially due to the latency of external API requests.

Acceptance Criteria
  • Retrieve video duration using the Google (YouTube) API
  • Trigger an asynchronous task via Celery when XBLOCK_UPDATED is received
  • Store the duration value in the module store

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.