Community & Support

moving a movie player (or other object) up in content

I have the FLV media player module installed. It currently places the video player beneath the body of the node, but I would like to place the video player at the top and have the text of the body wrap around it. Anyone know how I would do this?

Comments

Contemplates

Take a look at http://drupal.org/project/contemplate

You can rearrange the appearance of all node content.

html would look like

div div media player div BODY div

float body left or right

I checked out contemplate

I checked out contemplate and it looks to have promise, but for each "body variable" listed that has my body text in it, it includes the script for the video player along with it- they don't seem to separate out the two so I can display them individually.

use <?php print

use

<?php
print $node->content['body']['#value']
?>

instead of

<?php
print $node->body
?>

then add the rest of the variables in as you see fit

This video player coding is

This video player coding is still attached to that. So when I do the following:

<?php
print $node->flvmediaplayer_display
?>

<?php
print $node->content['body']['#value']
?>

I get the video player, than the node body, and than the video player again.

Does anyone have any ideas?

Does anyone have any ideas? I've been beating my head against this for quite a bit of time with no positive results.

I'm not the best at modifying modules, but I'm willing to give it a shot. One idea I tried with not much success was to have the video module output the video code within a DIV tag, and then CSS that. That didn't really work for me however, but perhaps I did it wrong.

you need to set the FLV

you need to set the FLV movie player display settings for the content type. change the flv body property from default to hidden

then it wont show up in the body value

let me know if you arent sure where to find the display settings

nobody click here