By Jorrit on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
6.x-5.x
Introduced in version:
6.x-5.0
Description:
Since version 6.x-5.x the Video module finds installed File system and Transcoder plugins using CTools.
Developers of Transcoder and File system plugins must make the following backwards-compatible change to make sure that their module can still be used with the Video module version 5.
Transcoder modules
Add the following to your .module file:
function YOURMODULE_ctools_plugin_directory($module, $plugin) {
if ($module == 'video' && $plugin == 'transcoder') {
return 'transcoders';
}
}
Add the following to your transcoders/TRANSCODER.inc file:
$plugin = array();
File system modules
Add the following to your .module file:
function YOURMODULE_ctools_plugin_directory($module, $plugin) {
if ($module == 'video' && $plugin == 'filesystem') {
return 'filesystem';
}
}
Add the following to your filesystem/FILESYSTEM.inc file:
$plugin = array();
Impacts:
Module developers