Closed (fixed)
Project:
Flowplayer API
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2010 at 14:04 UTC
Updated:
4 Mar 2011 at 04:41 UTC
I spent 6 hours including today and yesterday trying to figure this out.
I want to display a video above the rest of the node display. Thus, I wanted to do it in in page.tpl.php
This never worked. I thought I was doing something wrong but finally I realized that it just did not work.
Thus, I added the HTML to contain the video player in page.tpl.php and called the function from node.tpl.php
Is this a bug?
Comments
Comment #1
alienresident commentedScotthoff,
I added the flowplayer_add function to the node via a preprocess_node function in template.php
You could the flowplayer_add function to the page via a preprocess_page function in template.php
Note: I am using the video module to create a cck filefield (field_video) and have the video upload module enabled.
On the page.tpl.php add:
Comment #2
yan commented