You are here

function video_format_right in Video 7

Same name and namespace in other branches
  1. 6.5 video_widget.inc \video_format_right()
  2. 6.4 video_widget.inc \video_format_right()
1 call to video_format_right()
video_explode in ./video.module

File

./video.module, line 643

Code

function video_format_right($value) {
  $format = explode("x", $value);
  if (!isset($format[0]) || !is_numeric(trim($format[0]))) {
    return FALSE;
  }
  if (!isset($format[1]) || !is_numeric(trim($format[1]))) {
    return FALSE;
  }
  return TRUE;
}