Skip to content

Extract Video XBlock #36282

@farhan

Description

@farhan

In this Story we will extract out the Built-In Video XBlock to the xblocks-contrib repository that will be the new home of Built-In XBlocks.


Here are some of the pending tasks [We will keep working and grooming on them]

  • Initial tasks
  • Lift and Shift all Video Block JS files migrated from RequireJS to ES6 Modules here
  • Add webpack integration code into the xblocks-contrib repository. Add all the code to run Karma JS test cases. [Should merge PR directly into main branch of xblocks-contrib] #37274
  • Lift and shift all the Karma JS test cases (which are currently broken in edx-platform) from edx-platform to xblocks-conrib. We will work on this story once, the above task is completed in main branch. feature branch needs to be rebased with the main branch. first.
  • Refactor ajax-calls code
  • Enable waffle flags
  • Enable youtube methods that are youtube_deprecated() and youtube_disabled_for_course()
  • Use django models in the custom XBlocks
  • Test and ensure the import and export of courses containing this XBlock run successfully.

Tasks for Extracting Video XBlock in Chunks:

As eventually :

  • we are going to remove xmodule directory from edx-platform repo.
  • we are going to delete the Built-In Video Block (xmodule.video_block) from edx-platform directory
  • and we planning to merge small standalone PR's related to Video XBlock Extraction work in edx-platform repo.

subtasks has been created and linked within this main parent story.

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

🏗 In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions