@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | 'videortcicon' => $videortcicon, |
64 | 64 | 'oldermoodle' => $moodleversion < $moodle32, |
65 | 65 | 'maxrecsize' => $maxrecsize |
66 | - ); |
|
66 | + ); |
|
67 | 67 | |
68 | 68 | return $params; |
69 | 69 | } |
@@ -75,44 +75,44 @@ discard block |
||
75 | 75 | global $PAGE; |
76 | 76 | |
77 | 77 | $strings = array('audiortc', |
78 | - 'videortc', |
|
79 | - 'nowebrtc_title', |
|
80 | - 'nowebrtc', |
|
81 | - 'gumabort_title', |
|
82 | - 'gumabort', |
|
83 | - 'gumnotallowed_title', |
|
84 | - 'gumnotallowed', |
|
85 | - 'gumnotfound_title', |
|
86 | - 'gumnotfound', |
|
87 | - 'gumnotreadable_title', |
|
88 | - 'gumnotreadable', |
|
89 | - 'gumoverconstrained_title', |
|
90 | - 'gumoverconstrained', |
|
91 | - 'gumsecurity_title', |
|
92 | - 'gumsecurity', |
|
93 | - 'gumtype_title', |
|
94 | - 'gumtype', |
|
95 | - 'insecurealert_title', |
|
96 | - 'insecurealert', |
|
97 | - 'browseralert_title', |
|
98 | - 'browseralert', |
|
99 | - 'startrecording', |
|
100 | - 'recordagain', |
|
101 | - 'stoprecording', |
|
102 | - 'recordingfailed', |
|
103 | - 'attachrecording', |
|
104 | - 'norecordingfound_title', |
|
105 | - 'norecordingfound', |
|
106 | - 'nearingmaxsize_title', |
|
107 | - 'nearingmaxsize', |
|
108 | - 'uploadprogress', |
|
109 | - 'uploadfailed', |
|
110 | - 'uploadfailed404', |
|
111 | - 'uploadaborted', |
|
112 | - 'annotationprompt', |
|
113 | - 'annotation:audio', |
|
114 | - 'annotation:video' |
|
115 | - ); |
|
78 | + 'videortc', |
|
79 | + 'nowebrtc_title', |
|
80 | + 'nowebrtc', |
|
81 | + 'gumabort_title', |
|
82 | + 'gumabort', |
|
83 | + 'gumnotallowed_title', |
|
84 | + 'gumnotallowed', |
|
85 | + 'gumnotfound_title', |
|
86 | + 'gumnotfound', |
|
87 | + 'gumnotreadable_title', |
|
88 | + 'gumnotreadable', |
|
89 | + 'gumoverconstrained_title', |
|
90 | + 'gumoverconstrained', |
|
91 | + 'gumsecurity_title', |
|
92 | + 'gumsecurity', |
|
93 | + 'gumtype_title', |
|
94 | + 'gumtype', |
|
95 | + 'insecurealert_title', |
|
96 | + 'insecurealert', |
|
97 | + 'browseralert_title', |
|
98 | + 'browseralert', |
|
99 | + 'startrecording', |
|
100 | + 'recordagain', |
|
101 | + 'stoprecording', |
|
102 | + 'recordingfailed', |
|
103 | + 'attachrecording', |
|
104 | + 'norecordingfound_title', |
|
105 | + 'norecordingfound', |
|
106 | + 'nearingmaxsize_title', |
|
107 | + 'nearingmaxsize', |
|
108 | + 'uploadprogress', |
|
109 | + 'uploadfailed', |
|
110 | + 'uploadfailed404', |
|
111 | + 'uploadaborted', |
|
112 | + 'annotationprompt', |
|
113 | + 'annotation:audio', |
|
114 | + 'annotation:video' |
|
115 | + ); |
|
116 | 116 | |
117 | 117 | $PAGE->requires->strings_for_js($strings, 'atto_recordrtc'); |
118 | 118 | } |
@@ -54,7 +54,7 @@ |
||
54 | 54 | $videortcicon = 'i/videortc'; |
55 | 55 | $params = array('contextid' => $context->id, |
56 | 56 | 'sesskey' => $sesskey, |
57 | - 'recordrtcroot' => $CFG->wwwroot.'/lib/editor/atto/plugins/recordrtc/', |
|
57 | + 'recordrtcroot' => $CFG->wwwroot . '/lib/editor/atto/plugins/recordrtc/', |
|
58 | 58 | 'allowedtypes' => $allowedtypes, |
59 | 59 | 'audiobitrate' => $audiobitrate, |
60 | 60 | 'videobitrate' => $videobitrate, |