bummer. got this on 1.2 and 1.2 dev

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'theme_video_format_play' was given in /var/www/domain.com/includes/theme.inc on line 617.

Comments

hypertext200’s picture

whats is the video type u tried to upload?

bredi’s picture

Quicktime.

I tried it on a site that had a previous videofield version and a site that never had it activated.

hypertext200’s picture

please check u have common.inc file in your package?

dkaswan’s picture

Need to modify a function theme_video_play_quicktime() in file common.inc to correct this.

change function parameter ($node) to ($element)

and comment some code just right before return $output.
my commented code was :
/*$output = theme('video_format_play', $output, t('http://www.apple.com/quicktime/download'),
t('Link to QuickTime Download Page'),
t('Download latest Quicktime Player'));*/

Atleast it worked for me O.o!!!

bredi’s picture

Commenting out around line 275 worked for me! However, Popup doesn't work. But this is getting there!

Thanks!

/*$output = theme('video_format_play', $output, t('http://www.apple.com/quicktime/download'),
t('Link to QuickTime Download Page'),
t('Download latest Quicktime Player'));*/

bredi’s picture

oops now getting this theme error on swf files. I tried changing $node to $element also, but that didn't work.

bredi’s picture

commenting the same for swf fixed it. approx line 141. make sure you keep

return $output;
}

this is the code to comment out.

/* $output = theme('video_format_play', $output, t('http://www.macromedia.com/go/getflashplayer'), t('Link to Flash player download'), t('Download the latest Flash player')); */

dkaswan’s picture

It seems like function "theme_video_format_play" not implemented yet. I think we need to comment out all of this code from this common.inc

Pinkal’s picture

Hello,

I am also getting the same warning. Please help me out.

Pinkal Chavda

tamerzg’s picture

Status: Active » Closed (fixed)

I removed all calls to "theme_video_format_play" in ver 1.3.1, as this was not implemented. Also small bug in Ogg Theora is fixed.

tamerzg’s picture

adamus_maximus’s picture

Commenting that code out may not be the best solution. That code was trying to accomplish someting. Instead, I tracked the theming function in question. It was in an old version of the video modules. See the following:

http://drupal.org/node/962590

Regards.

adamus_maximus’s picture

Status: Closed (fixed) » Patch (to be ported)