Patch (to be ported)
Project:
VideoField
Version:
6.x-6.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2009 at 09:04 UTC
Updated:
4 Nov 2010 at 19:54 UTC
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
Comment #1
hypertext200whats is the video type u tried to upload?
Comment #2
bredi commentedQuicktime.
I tried it on a site that had a previous videofield version and a site that never had it activated.
Comment #3
hypertext200please check u have common.inc file in your package?
Comment #4
dkaswan commentedNeed 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!!!
Comment #5
bredi commentedCommenting 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'));*/
Comment #6
bredi commentedoops now getting this theme error on swf files. I tried changing $node to $element also, but that didn't work.
Comment #7
bredi commentedcommenting the same for swf fixed it. approx line 141. make sure you keep
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')); */
Comment #8
dkaswan commentedIt 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
Comment #9
Pinkal commentedHello,
I am also getting the same warning. Please help me out.
Pinkal Chavda
Comment #10
tamerzg commentedI 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.
Comment #11
tamerzg commentedComment #12
adamus_maximus commentedCommenting 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.
Comment #13
adamus_maximus commented