swf support with swfobject to keep xhtml compliant ?

Djamu - July 31, 2008 - 15:01
Project:Imagemenu
Version:5.x-1.1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Is there any chance / a way to use swf files ?

#1

pobster - August 2, 2008 - 09:47

Yeah it's fairly simple, but as Drupal doesn't allow for them you need to change your theme to cope.

Just add the headers a swf file would expect (use Google or the Drupal search I *know* there's several examples as I wrote at least one of them for one of my other modules; logotool) and then just ... use swf files. It's been so long since I used Imagemenu that I can't recall if there's any validity checks on filetypes, but if there is (and I don't think there is) it's easy enough to add swf files.

Pobster

 
 

Drupal is a registered trademark of Dries Buytaert.