/* the length of sublink text display in the course index page, detail view */
define('SUBLINK_TEXT_LEN', 38);
+/* The lock out time for max login attempts */
+define('DEFAULT_VIDEO_PLAYER_WIDTH', 425); // in pixels
+define('DEFAULT_VIDEO_PLAYER_HEIGHT', 350); // in pixels
+
/* The lock out time for max login attempts */
define('LOGIN_ATTEMPT_LOCKED_TIME', 60); //in minutes, default an hour, 60 minutes
$width = $media_match[2];
$height = $media_match[3];
if($width == ''){
- $width = "425";
+ $width = DEFAULT_VIDEO_PLAYER_WIDTH;
}
if($height == ''){
- $height = "350";
+ $height = DEFAULT_VIDEO_PLAYER_HEIGHT;
}
$video_id = $media_match[4];