function video_validate in Video 5
Same name and namespace in other branches
- 6 video.module \video_validate()
- 6.2 video.module \video_validate()
Implementation of hook_validate
File
- ./
video.module, line 717 - Display video in Quicktime MOV, Realmedia RM, Flash FLV & SWF, or Windows Media WMV formats.
Code
function video_validate($node) {
if (!video_support_autoresolution($node) || $node->vresolution) {
// we have some resolution value
// form api checked for good values of vresolution
if (variable_get("video_{$node->vresolution}_value", '') == '') {
}
}
module_invoke('video_' . $node->vtype, 'v_validate', $node);
}