I've got the Video module working, but I created a View to select a few Videos and put them in a Block. When I go a page with that Block, I get a lot of PHP errors saying that I can't redeclare many functions like _video_common_get_player() and theme_video_play_flash(). Is it not possible to display more than one video on the same page?
Comments
Comment #1
jschulz-1 commentedThis behavior seems to come from including the common.inc file during the implementation of hook_v_play (for your particular video type). I'm only using one video type on this project (uploaded flv) so I eliminated the call to common.inc and put the call to the theme function directly into the video type module code. Then there was no need to call common.inc, so I eliminated it and now multiple videos will display on the same page. This solution would only really work if you want to use one Video Type though.
Comment #2
fax8 commentedYou might want to change the calls to include in all the video types implementations to use include_once() rather than a simple include
Comment #3
hypertext200see latest views2