Convert VideoModule to VideoBlock.

Some deprecated functionality has been removed:

- Reading data field and transforms being applied in the init() method.
- The source field.
- The source_visible attribute.
This commit is contained in:
Usman Khalid
2019-05-02 21:43:31 +05:00
parent 392cc97ce9
commit 0b27c62ca6
34 changed files with 379 additions and 454 deletions

View File

@@ -118,7 +118,7 @@ FEATURES['ENTRANCE_EXAMS'] = True
################################ COURSE LICENSES ################################
FEATURES['LICENSING'] = True
# Needed to enable licensing on video modules
XBLOCK_SETTINGS.update({'VideoDescriptor': {'licensing_enabled': True}})
XBLOCK_SETTINGS.update({'VideoBlock': {'licensing_enabled': True}})
################################ SEARCH INDEX ################################
FEATURES['ENABLE_COURSEWARE_INDEX'] = True