Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
List of artifacts:
Whiteboard: https://excalidraw.com/#room=bb5ec8f1a9402a2ef3b5,QXIMmn8cmiQV9WhcTkQc-w
Frontend for video player (React component to wrap Video.js)
...
save_user_state
Default video controls
...
Optional Features
...
(waffles and Flags) in Old Video block
Flag | Description | ||
---|---|---|---|
SHOW_BUMPER_PERIODICITY |
| ||
ENABLE_VIDEO_BUMPER | Check if bumper enabled.
| ||
AUTOPLAY_VIDEOS | |||
ENABLE_AUTOADVANCE_VIDEOS |
| ||
FALLBACK_TO_ENGLISH_TRANSCRIPTS | |||
DEPRECATE_YOUTUBE (Waffle) |
|
Features that might be considered for deprecation in old Video Block
Feature | Description | Decision |
---|---|---|
Architecture Decisions
Comparison of introducing a new xBlock vs Refactoring existing Video Block to include several UI options.
Whiteboard: https://excalidraw.com/#room=bb5ec8f1a9402a2ef3b5,QXIMmn8cmiQV9WhcTkQc-w
High-level architecture:
Option 1:
...
Option 2:
...
Option 3:
...
Solution / Problem |
|
|
|
---|---|---|---|
| JS Refactoring is required to move out it from the edx-platform | Completely new frontend development, it’s not required to work with the legacy Video Player implementation | No need for existing JS refactoring, only new functionality will be added |
| For python only new code will be introduced in Video xBlock required for the Video.js implementation. Slight deprecation activities are possible. | The further development on existing backend in edx-platform is required. | It’s required to refactor existing backend to adjust the required functionality for the Video.js based player. New code may be added on top or replace existing functions and utilities. |
| NPM installation into MFEs may be a little bit complicated Usual PIP installation of the xBlock into OeX system | NPM installation is simple, following the current approach with frontend-component-* repositories. | NPM installation into MFEs may be also complicated In addition a mechanism for switching between new xBlock and old video block should be implemented. |
| Frontend and Backend packages will use the same tag using SemVer scheme. | Only Frontend component will have a frontend versioning. | Only new Frontend and New Backend will have SemVer versioning. |