function video_support_autoplaytime in Video 6.2
Same name and namespace in other branches
- 5 video.module \video_support_autoplaytime()
- 6 video.module \video_support_autoplaytime()
Return true if the video support auto playtime
2 calls to video_support_autoplaytime()
- video_form in ./video.module 
- Hook, displays the contents of the node form page for creating and editing nodes.
- video_submit in ./video.module 
- Implementation of hook submit
File
- ./video.module, line 1482 
- video.module
Code
function video_support_autoplaytime($node) {
  $info = video_get_type_info($node->vtype);
  $has_hook = module_hook('video_' . $node->vtype, 'v_auto_playtime');
  return $has_hook && isset($info[$node->vtype]['#autoplaytime']) && $info[$node->vtype]['#autoplaytime'];
}