@@ -43,9 +43,9 @@ |
||
| 43 | 43 | // Reset page layout for inside editor. |
| 44 | 44 | $PAGE->set_pagelayout('embedded'); |
| 45 | 45 | |
| 46 | -$PAGE->requires->css( new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/css/style.css') ); |
|
| 47 | -$PAGE->requires->js( new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/js/bowser.js'), true ); |
|
| 48 | -$PAGE->requires->js( new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/js/adapter.js'), true ); |
|
| 46 | +$PAGE->requires->css(new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/css/style.css')); |
|
| 47 | +$PAGE->requires->js(new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/js/bowser.js'), true); |
|
| 48 | +$PAGE->requires->js(new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/js/adapter.js'), true); |
|
| 49 | 49 | |
| 50 | 50 | $jsvars = array( |
| 51 | 51 | 'contextid' => $contextid, |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | 'sesskey' => sesskey(), |
| 62 | 62 | 'type' => $this->get_config('allowedtypes'), |
| 63 | 63 | 'timelimit' => $this->get_config('timelimit') |
| 64 | - ); |
|
| 64 | + ); |
|
| 65 | 65 | $this->add_button_after($params, 0, 'audiortc'); |
| 66 | 66 | } |
| 67 | 67 | |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | 'sesskey' => sesskey(), |
| 74 | 74 | 'type' => $this->get_config('allowedtypes'), |
| 75 | 75 | 'timelimit' => $this->get_config('timelimit') |
| 76 | - ); |
|
| 76 | + ); |
|
| 77 | 77 | $this->add_button_after($params, 0, 'videortc'); |
| 78 | 78 | } |
| 79 | 79 | } |
@@ -43,9 +43,9 @@ |
||
| 43 | 43 | // Reset page layout for inside editor. |
| 44 | 44 | $PAGE->set_pagelayout('embedded'); |
| 45 | 45 | |
| 46 | -$PAGE->requires->css( new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/css/style.css') ); |
|
| 47 | -$PAGE->requires->js( new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/js/bowser.js'), true ); |
|
| 48 | -$PAGE->requires->js( new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/js/adapter.js'), true ); |
|
| 46 | +$PAGE->requires->css(new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/css/style.css')); |
|
| 47 | +$PAGE->requires->js(new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/js/bowser.js'), true); |
|
| 48 | +$PAGE->requires->js(new moodle_url($CFG->wwwroot.MOODLE_TINYMCE_RECORDRTC_ROOT.'tinymce/js/adapter.js'), true); |
|
| 49 | 49 | |
| 50 | 50 | $jsvars = array( |
| 51 | 51 | 'contextid' => $contextid, |