By shanejeffery86 on
Hey all.
I have been spending tons of time trying to get this to work but with no resolve.
I am using the Video module with the FLV player. I can get the video to work just fine in the node.
What I need to do is pull the most recent video (video posted node) and display the actual video (not a link to the node) in a block on the homepage of my site.
Anyone have an idea of how best to approach this?
I have been going through the video.module functions in hopes of just calling one of the functions from the block, but that is not possible as the $node object does not have a value at that point.
Comments
Views
I haven't used the video module since I either use the embedded fields or swf tools but you can try views module to display the node as a block.
Not the best solution, but
Not the best solution, but this is work around and it does work. I put the following function in the template.php file for the template that I am currently using.
Then from the block that you create, you call the function get_video_block!
It works perfectly :)