function flowplayer_jq in Flowplayer API 7
Same name and namespace in other branches
- 5 flowplayer.jq.inc \flowplayer_jq()
- 6 flowplayer.jq.inc \flowplayer_jq()
- 7.2 flowplayer.jq.inc \flowplayer_jq()
@file Adds support for the jQ module.
jq_add('flowplayer', $selector, $config);
File
- ./
flowplayer.jq.inc, line 9 - Adds support for the jQ module.
Code
function flowplayer_jq($op, $plugin = NULL) {
switch ($op) {
case 'info':
return array(
'flowplayer' => array(
'name' => t('Flowplayer'),
'description' => t('Flash video player.'),
'version' => '3.1.5',
'url' => 'http://flowplayer.org',
),
);
break;
case 'add':
switch ($plugin) {
case 'flowplayer':
// When adding the plugin, allow additional arguments so that
// we can pass them through.
$args = func_get_args();
unset($args[0]);
// $op
unset($args[1]);
// $plugin
call_user_func_array('flowplayer_add', $args);
break;
}
break;
}
}