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)
Comments
Comment #1
JW Player commented@remaye,
Are you receiving any error messages? Can you provide a link to where you've tried this?
Thanks.
Comment #2
remaye commentedThanks 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&image=image1 ...instead of :
<param name="flashvars" value="file=http://.../video.flv&image=http://.../image.jpgLet me know if you are finding something wrong...
Thanks by advance.
Comment #3
JW Player commentedHi 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.
Comment #4
hanno commenteddid you set the filter of the text area field properly?
Comment #5
remaye commentedI 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...
Comment #6
JW Player commentedGlad to hear you got it working. I'll take a look at the manual to see if I can make it clearer.
Comment #7
verta commentedupdate title spelling and add tag for search