When using swftools within a views field the output is wrapped within 2 levels of span. e.g.

<span class="views-field-field-fyeo-podcast-fid-1">
<span class="field-content">

Since swf emits the player wrapped in <div> this breaks the xhtml requirement that block level elements not be within inline elements.

This could be changed to remove the inner div although it might break style sheet references.
I am not sure if you can detect the case that you are being called from views, if so this could be a conditional case.

Comments

castawaybcn’s picture

I just had a similar issue with a colorbox field and found the solution in this post, I hope it helps.