Closed (fixed)
Project:
OpenPackage Video
Version:
5.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
26 Jun 2008 at 11:11 UTC
Updated:
26 Apr 2009 at 02:35 UTC
Please provide a custom field, which calls for example theme('opvideo_custom',$video);.
It's hard to theme a video field now (you use _op_video_render_* instead of theme functions).
Comments
Comment #1
jbrown commentedThere are two theme functions which you can override:
Comment #2
alippai commentedI don't want to use the existing $player or $image, because I want to use my own players. I want to get $video, to theme it for my player.
Comment #3
jbrown commentedIn that case - you need to hack player.inc. We'll probably move op_video to flowplayer eventually.
Comment #4
alippai commentedI know, that I have to hack player.inc - that is the reason why I set this issue as feature request :)
About that change of the video player: a pluggable system would be nice - in this case we should change the player at views formatter settings and add custom players via hooks. IMHO this is the right way...
The player plugin needs to define the players/themes (set if the player/image etc. can be a link or only it can be a link destination, or it can be rendered only without link) and at formatters we should have to choose from them (a rendered object->destination pair).
Comment #5
jbrown commented