diff --git a/lms/envs/production.py b/lms/envs/production.py index 7a8f3df947..f4db3eec8f 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -942,3 +942,12 @@ plugin_settings.add_plugins(__name__, plugin_constants.ProjectType.LMS, plugin_c ########################## Derive Any Derived Settings ####################### derive_settings(__name__) + +############## Settings for Completion API ######################### + +# Once a user has watched this percentage of a video, mark it as complete: +# (0.0 = 0%, 1.0 = 100%) +COMPLETION_VIDEO_COMPLETE_PERCENTAGE = ENV_TOKENS.get('COMPLETION_VIDEO_COMPLETE_PERCENTAGE', + COMPLETION_VIDEO_COMPLETE_PERCENTAGE) +COMPLETION_VIDEO_COMPLETE_PERCENTAGE = ENV_TOKENS.get('COMPLETION_BY_VIEWING_DELAY_MS', + COMPLETION_BY_VIEWING_DELAY_MS)