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

jschulz-1’s picture

This 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.

fax8’s picture

You might want to change the calls to include in all the video types implementations to use include_once() rather than a simple include

hypertext200’s picture

Status: Active » Fixed

see latest views2

Status: Fixed » Closed (fixed)

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