At my video-node theres only the generic-link from filefields (no video player is shown).
Firebug shows the following code on my node:

When i look at my settings at admin/settings/jq the standard-class ".filefield-item a" seems to be wrong here.
What class should be in there?

F.e. when I write ".clear-block a" there will be only the icon in a white box and Firebug shows:

Only local images are allowed.
test video

My Filefield version is 6.x-3.3

Comments

cregar’s picture

sorry, i forgot the code-tag :)

the first:

<div class="filefield-file clear-block">
<div class="filefield-icon field-icon-video-x-flv">
<img src="[icon-url]" alt="video/x-flv icon" class="field-icon-video-x-flv"></div>
<a title="[video-url]" type="video/x-flv; length=88722" href="[video-url]">
my video test</a>
</div>

the second:

<div class="filefield-file clear-block">
<div class="filefield-icon field-icon-video-x-flv">
<img src="[icon-url]" alt="video/x-flv icon" class="field-icon-video-x-flv"></div>
<div style="background-color: rgb(255, 255, 255); width: 320px;">
<embed width="320" height="240" flashvars="file=[video-url]" autoplay="false" wmode="transparent" bgcolor="#ffffff" pluginspage="http://www.adobe.com/go/getflashplayer" type="application/x-shockwave-flash" src="/mediaplayer.swf?file=[video-url]" style="display: block;">
<div>my video test</div>
</div>
</div>
meecect’s picture

I noticed something similar. I took a different approach. First I installed the filefield insert module. I use this module all the time for other reasons as well. It gives a simple option to 'send to editor' any files that are uploaded via a cck filefield element. This is very useful if you are using a wysiwyg editor like tinymce, so you can upload files and images and then click a button to have the link or image sent to the editor.

You can also specify a class that will be used for the inserted link. In my case I used a class named 'video', but maybe something like jqmedia would be better for the generic case.

Then, I make sure that whatever class I specified is used on the jquery_media settings page.