Many improvements with version 1.8. Now with YouTube and Google Video Support!
Important Note: For this new version I changed the following functions.
Changed the flashvideo_get_video_object routine
function flashvideo_get_video_object($node, $index, $params) {
}
Has been changed too...
function flashvideo_get_video($node, $params, $file_only = false) {
}
Where in order to specify the index, just add it to the $params array like $params['index'] = 0;
Also added a way to just get the URL only for the video by passing the $file_only flag to true.
Changed the flashvideo_get_thumb_object routine
function flashvideo_get_thumb_object($node, $index) {
}
Has been changed too...
function flashvideo_get_thumbnail($node, $params, $file_only = false) {
}
Where in order to specify the index, just add it to the $params array like $params['index'] = 0;
Also added a way to just get the URL only for the thumbnail by passing the $file_only flag to true.
Along with that major change, the following has been either added or fixed in version 1.8.
- Added YouTube and Google support with the new id parameter! Read the Help for more information!
- Moved the Theme function to another file to keep away from module clutter.