Greetings... I would like to mass import a group of zipped swf (flash) files. When I attempt, I get the error...
xxx.swf is not a valid acidfree element type (application/x-shockwave-flash).
I would be happy if they just unzipped into some directory, even if they were not added as nodes. Then, I could at least reference them with the TinyMCE flash insert option... Is there something that I can modify to add swf as a valid element type? Any other suggestions would be appreciated.
Thank you for your time and help.
-HappyOtter
Comments
Comment #1
HappyOtter commentedWas able to fix problem. Now able to upload zipped SWF (flash) files as nodes.
Modified class_video.inc adding 2 lines shown below (might only need one).
function class_video_register() {
...
$class->mime_ext = Array(
...
'video/3gpp'=>'3gp',
'application/x-shockwave-flash'=>'swf',
'video/x-shockwave-flash'=>'swf',
);
===
continued to receive error messages until
CLEARED All Cache files (might only need to clear one)
TRUNCATE `cache` ;
TRUNCATE `cache_content` ;
TRUNCATE `cache_filter` ;
TRUNCATE `cache_menu` ;
TRUNCATE `cache_page` ;
TRUNCATE `cache_views` ;
===
after successful load, no visibility (looks empty)
until you reset each newly added nodes Height/Width <> 0 (and change time<>0)
Carpe Diem,
HappyOtter
Previously mass uploading with modified image publish module working under drupal 5.2 (but then swf files are considered images and not video). So the can be referenced with TinyMCE flash add but not seen as nodes because no Height/Width, etc...
Comment #2
mwheinz commentedClosing. No activity in 3 years.