Skip to content

refactor: use video block utils from xblocks-contrib package#38088

Open
farhan wants to merge 5 commits intomasterfrom
farhan/use-extracted-video-block-utils
Open

refactor: use video block utils from xblocks-contrib package#38088
farhan wants to merge 5 commits intomasterfrom
farhan/use-extracted-video-block-utils

Conversation

@farhan
Copy link
Contributor

@farhan farhan commented Mar 4, 2026

Use utility classes from xblocks-contrib/video to avoid the if-else conditions for fixing test cases for the extracted video block
This is the PR in which we are fixing the test cases for the extracted video block.

openedx-platform (removed) xblocks-contrib (moved)
bumper_utils.py bumper_utils.py
video_handlers.py video_handlers.py

Following tool can be used to check the difference of the original and moved code files
https://www.diffchecker.com/text-compare/

Testing notes:

I have tested the PR on the local setup.

  • Created a video block with you tube url.
  • Experience the Youtube Video on the LMS

To save time I have created following follow-up PR:
#38123

@farhan farhan added the create-sandbox open-craft-grove should create a sandbox environment from this PR label Mar 4, 2026
@farhan farhan self-assigned this Mar 5, 2026
@farhan farhan moved this to 🏗 In progress in Aximprovements Team Mar 5, 2026
@farhan farhan force-pushed the farhan/use-extracted-video-block-utils branch from 43d6126 to 69e22e8 Compare March 6, 2026 07:56
@farhan farhan marked this pull request as ready for review March 6, 2026 08:27
@farhan farhan requested review from feanil and kdmccormick March 6, 2026 10:35
@farhan farhan moved this from 🏗 In progress to 👀 In review in Aximprovements Team Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

create-sandbox open-craft-grove should create a sandbox environment from this PR

Projects

Status: 👀 In review

Development

Successfully merging this pull request may close these issues.

1 participant