diff --git a/admin/settings/plugins.php b/admin/settings/plugins.php index 883539b957c75..7c75aa2e2da70 100644 --- a/admin/settings/plugins.php +++ b/admin/settings/plugins.php @@ -254,10 +254,10 @@ $temp->add(new admin_setting_heading('managemediaplayerscommonheading', new lang_string('commonsettings', 'admin'), '')); $temp->add(new admin_setting_configtext('media_default_width', new lang_string('defaultwidth', 'core_media'), new lang_string('defaultwidthdesc', 'core_media'), - 400, PARAM_INT, 10)); + 640, PARAM_INT, 10)); $temp->add(new admin_setting_configtext('media_default_height', new lang_string('defaultheight', 'core_media'), new lang_string('defaultheightdesc', 'core_media'), - 300, PARAM_INT, 10)); + 360, PARAM_INT, 10)); $ADMIN->add('mediaplayers', $temp); // Convert plugins. diff --git a/filter/mediaplugin/tests/filter_test.php b/filter/mediaplugin/tests/filter_test.php index eb781ae9387a6..861e4f01b84c1 100644 --- a/filter/mediaplugin/tests/filter_test.php +++ b/filter/mediaplugin/tests/filter_test.php @@ -93,7 +93,7 @@ function test_filter_mediaplugin_link() { 'Valid link
'; $paddedurl = str_pad($originalurl, 6000, 'z'); $validpaddedurl = 'Some text.
-
'; $validpaddedurl = str_pad($validpaddedurl, 6000 + (strlen($validpaddedurl) - strlen($originalurl)), 'z');