I tried to use the attachment description as the "file" parameter like shown in the Longtailvideo tutorial :
http://www.longtailvideo.com/support/addons/jw-player-module-for-drupal/...
but it did not work...
I set the video attached file to "test_video" and I used the tag :
[jwplayer|config=sample|file=test_video|image=test_image]
It just try to load "node/test_video" and not the video itself...
(NB: the module is working when I use the complete path of the video instead)

CommentFileSizeAuthor
#2 form.jpg90.29 KBremaye
#2 html.jpg412.67 KBremaye

Comments

JW Player’s picture

Status: Active » Postponed (maintainer needs more info)

@remaye,

Are you receiving any error messages? Can you provide a link to where you've tried this?

Thanks.

remaye’s picture

StatusFileSize
new412.67 KB
new90.29 KB

Thanks for your response.
But no, I don't have any error neither warning message.
I haven't online link to show (I'm just testing locally) but if you can just see the attached screenshoots : node form and render html ?
I inserted two tags for the same video : the first one using true urls and the second one using attachments descriptions.
The first one is working well and the second one is failing showing a "forbidden symbol".
(also tried using each formulation separatly with the same result)

It seems attachments descriptions are not interpreted and just put into the embedding tag as they are :
<param name="flashvars" value="file=video1&amp;image=image1 ...
instead of :
<param name="flashvars" value="file=http://.../video.flv&amp;image=http://.../image.jpg

Let me know if you are finding something wrong...
Thanks by advance.

JW Player’s picture

Hi remaye,

Looking at the screenshots, I'm curious as to what module you are using to enable node attachments. Also, what version of Drupal are you using?

Thanks.

hanno’s picture

did you set the filter of the text area field properly?

remaye’s picture

I finally got the solution of the problem thanks to your question :
I was indeed using the FileField cck field instead of the regular Drupal Upload module to upload the attachment files.
That's all ! It works now !
Thanks.

Maybe you could add in your manual that one have to enable Upload module and attach the files through this feature ... not necessarily obvious for those who use widely cck fields...

JW Player’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Glad to hear you got it working. I'll take a look at the manual to see if I can make it clearer.

verta’s picture

Title: Attachement description not working » Attachment description not working
Issue tags: +attachment

update title spelling and add tag for search