I'm happy to have this working after a bit of trial and error. I'm using an MP3 file attached to my node. The flash player shows up and the audio is playable. However, the player displays at the bottom of the node, where the attachment would normally display. I would prefer the flash player to display higher up in the node, below a "Summary" CCK field I have created.

How can I change the position of the flash player within the node?

Thanks!

Comments

pathscollide’s picture

Well, since no one seems to have an answer, I have changed tactics and tried using the SWF Tools module. It provides a (poorly documented) filter that seems to work fine for my purposes, allowing me to position the player wherever I want (within any field that can use filtered input).

ranavaibhav’s picture

Component: Miscellaneous » User interface
Priority: Normal » Critical

Hello,

i have same question, could someone please help positioning the player?

thanks

nedjo’s picture

You can include the following in the body of a node

[flvmediaplayer]

and the player will render there.

ranavaibhav’s picture

The above solution does not work, however i found the back door to align the player...

NOTE, USE THIS SOLUTION AT YOUR OWN RISK!!!!! USE IT WITH CAUTION, IT WORKED FOR ME....

1) Open "swfobject_api.module" with word document or any other simple editor
Replace:
'no_flash' => t('Sorry, you need to install flash to see this content.'),
With:
'no_flash' => t(''),

2) Add following code on your node at your desired location to display the player

<div id="flashcontent_mediaplayer_1"></div>

3) Third and very important !!
Allow div tag in Filtered HTML format (This is recommended for security reason)
OR
Change the node "Input format" to Full HTML

Also, you can use style.css to theme your player external look (i.e. border, position, etc..) [Note, you cannot theme your actual player with css]