You are here

function video_preset_load in Video 7

Same name and namespace in other branches
  1. 6.5 video.module \video_preset_load()
  2. 7.2 modules/video_ui/video_ui.module \video_preset_load()

Implementing the special "auto-loader" for menu %video_preset.

Parameters

<string> $preset_name:

Return value

<object> $preset

File

modules/video_ui/video_ui.module, line 166
video_ui.module Administrative interface to Video. Without this module you cannot configure the video module. @author : Heshan (heshan@heidisoft.com)

Code

function video_preset_load($preset_name) {
  module_load_include('inc', 'video_ui', 'video.preset');
  return video_get_preset($preset_name);
}