You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove branding related code from video xblock #425
As part of cleanup and simplification under video xblock extraction ticket, we want to remove this geography-specific CDN handling from video xblock.
As a first step we are removing the branding-related code from video block since it’s no longer being used.
We have plan to remove the specialized VIDEO_CDN_URL in the next phase.
When we do that, nothing will reference the branding code so we're removing it first.
Description
Currently, the platform includes logic to determine an alternative source for video playback based on the user’s locale. This was originally introduced to support geography-specific CDNs, such as the China CDN, but now it is not using anymore.
There are multiple files across the frontend and backend models that would need updates if we decide to deprecate this functionality. Since I’m not yet fully sure about the ripple effects of removing it from the platform, I’d prefer to only remove the relevant code inside the video_block for now. This code will later be extracted into the xblock_contrib repository under the scope of this ticket.
CDN url support or rewrite
On two locations code is present in video_block one and second
As per my understanding re-write urls functionality is also to serve the videos from edx-video.net CDN instead of CloudFlare. edx-video.net was edX's own CDN cache on top of CloudFlare.
I am not removing this code as i believe we need to create a proper Depr ticket to remove it in detail.
changed the title [-]Remove usage of geography-specific CDN (China) from video xblock[/-][+]Remove branding related code from video xblock[/+]on Oct 31, 2025
Activity
salman2013 commentedon Oct 17, 2025
As per my understanding, there are two things which need to be look,
Branding addition for XuetangX
Original Ticket when implemented: openedx/openedx-platform#6575
There are multiple files across the frontend and backend models that would need updates if we decide to deprecate this functionality. Since I’m not yet fully sure about the ripple effects of removing it from the platform, I’d prefer to only remove the relevant code inside the video_block for now. This code will later be extracted into the xblock_contrib repository under the scope of this ticket.
CDN url support or rewrite
On two locations code is present in video_block one and second
As per my understanding re-write urls functionality is also to serve the videos from edx-video.net CDN instead of CloudFlare.
edx-video.net was edX's own CDN cache on top of CloudFlare.
I am not removing this code as i believe we need to create a proper Depr ticket to remove it in detail.
salman2013 commentedon Oct 17, 2025
PR for this ticket: openedx/openedx-platform#37491
[-]Remove usage of geography-specific CDN (China) from video xblock[/-][+]Remove branding related code from video xblock[/+]