From 52bf82ac17a0994458503beda135eb41d8be3e4c Mon Sep 17 00:00:00 2001 From: Peter Fogg Date: Wed, 12 Jun 2013 11:29:14 -0400 Subject: [PATCH] Set Youtube ID defaults to the empty string. --- cms/djangoapps/contentstore/features/video-editor.py | 8 ++++---- common/lib/xmodule/xmodule/video_module.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cms/djangoapps/contentstore/features/video-editor.py b/cms/djangoapps/contentstore/features/video-editor.py index 933338afe4..a85e390176 100644 --- a/cms/djangoapps/contentstore/features/video-editor.py +++ b/cms/djangoapps/contentstore/features/video-editor.py @@ -6,11 +6,11 @@ from lettuce import world, step @step('I see the correct settings and default values$') def i_see_the_correct_settings_and_values(step): - world.verify_all_setting_entries([['.75x', 'JMD_ifUUfsU', False], - ['1.25x', 'AKqURZnYqpk', False], - ['1.5x', 'DYpADpL7jAY', False], + world.verify_all_setting_entries([['.75x', '', False], + ['1.25x', '', False], + ['1.5x', '', False], ['Display Name', 'default', True], - ['Normal Speed', 'OEoXaMPEzfM', False], + ['Normal Speed', '', False], ['Show Captions', 'True', False], ['Source', '', False], ['Track', '', False]]) diff --git a/common/lib/xmodule/xmodule/video_module.py b/common/lib/xmodule/xmodule/video_module.py index 0170c4d310..9312e878c6 100644 --- a/common/lib/xmodule/xmodule/video_module.py +++ b/common/lib/xmodule/xmodule/video_module.py @@ -22,10 +22,10 @@ class VideoFields(object): """Fields for `VideoModule` and `VideoDescriptor`.""" position = Integer(help="Current position in the video", scope=Scope.user_state, default=0) show_captions = StringyBoolean(help="Whether or not captions are shown", display_name="Show Captions", scope=Scope.settings, default=True) - youtube_id_1_0 = String(help="Youtube ID for normal speed video", display_name="Normal Speed", scope=Scope.settings, default="OEoXaMPEzfM") - youtube_id_0_75 = String(help="Youtube ID for .75x speed video", display_name=".75x", scope=Scope.settings, default="JMD_ifUUfsU") - youtube_id_1_25 = String(help="Youtube ID for 1.25x speed video", display_name="1.25x", scope=Scope.settings, default="AKqURZnYqpk") - youtube_id_1_5 = String(help="Youtube ID for 1.5x speed video", display_name="1.5x", scope=Scope.settings, default="DYpADpL7jAY") + youtube_id_1_0 = String(help="Youtube ID for normal speed video", display_name="Normal Speed", scope=Scope.settings, default="") + youtube_id_0_75 = String(help="Youtube ID for .75x speed video", display_name=".75x", scope=Scope.settings, default="") + youtube_id_1_25 = String(help="Youtube ID for 1.25x speed video", display_name="1.25x", scope=Scope.settings, default="") + youtube_id_1_5 = String(help="Youtube ID for 1.5x speed video", display_name="1.5x", scope=Scope.settings, default="") start_time = StringyFloat(help="Time the video starts", display_name="Start Time", scope=Scope.settings, default=0.0) end_time = StringyFloat(help="Time the video ends", display_name="End Time", scope=Scope.settings, default=0.0) source = String(help="Source to download video", display_name="Source", scope=Scope.settings, default="")