I enabled the Video module and the video_url module only
Trying out this module I save a video node and get this error.
searching through the code I was not able to locate any function
_video_common_get_player()
So is this a missing function? where is it declared?

Comments

markDrupal’s picture

in the 5.x version of this module I found the function in the common.inc file

./video/includes/common.inc:function _video_common_get_player($node) {

hypertext200’s picture

Assigned: Unassigned » hypertext200

Fixing ...

hypertext200’s picture

I committed the new code, you can checkout from the repository. Version branch is DRUPAL-6--1

If cannot just see at the HEAD release

hypertext200’s picture

Status: Active » Fixed
markDrupal’s picture

StatusFileSize
new21.41 KB

Wow, that was quick, I developed a patch that fixes this
There was another section missing in video.module => video_theme

markDrupal’s picture

StatusFileSize
new1.95 KB

if you've already committed those missing files, we need to declare the themes that are used in those files, use this patch to fix that

snowmountain’s picture

The same thing happened with the video_upload type:

Fatal error: Call to undefined function _video_common_get_player() in /...my-site.../sites/all/modules/video/types/video_upload/video_upload.module on line 796

I just downloaded the 6.x-1.x-dev version today (May 1, 2009), so it is apparently the latest.

hypertext200’s picture

Please checkout the latest from the DRUPAL-6--1 branch, seems update script not yet run.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

alexsomocurcio’s picture

Issue summary: View changes

Hi,

I have the same problem here:

Fatal error: Call to undefined function _video_common_get_player() in /home/www/17cfe54b6c9edf36ac07cb106174bb3a/web/sites/all/modules/video/types/uploadfield/uploadfield_formatter.inc on line 44

Could you help me?