Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
castawaybcn CreditAttribution: castawaybcn commentedI just had a similar issue with a colorbox field and found the solution in this post, I hope it helps.