Bug #1287
closedWFlashObject: MIME type required in IE9, if swf served as static content
Description
Hi,
I think there is issue affecting the IE9 browser when combining WFlashObject with a .swf file served as static content.
Although the Flash plug-in is installed and active, I always get the Alternative Content.
I was unable to reproduce the behaviour with other browsers.
This is my docroot argument: ---docroot ".;/favicon.ico,/swf,/css,/img,/resources"
I tried several URL variations, with the same result:
WFlashObject *v = new WFlashObject("http://myhost/swf/myFlashApplet.swf");
WFlashObject *v = new WFlashObject("/swf/myFlashApplet.swf");
WFlashObject *v = new WFlashObject("swf/myFlashApplet.swf");
Was able to make it work by adding the swf type to src/http/MimeTypes.C
{ "swf", "application/x-shockwave-flash" },
Is this a valid fix? Or should I just use a WResource, even if my swf is static content?
Thanks,
Jorge
Updated by Wim Dumon over 12 years ago
Jorge,
Thank you, will be in git soon.
Regards,
Wim.
Updated by Koen Deforche over 12 years ago
- Status changed from New to InProgress
- Assignee set to Pieter Libin
- Target version changed from 3.2.1 to 3.2.2
Updated by Pieter Libin over 12 years ago
- Status changed from InProgress to Resolved
- Assignee changed from Pieter Libin to Wim Dumon
Updated by Koen Deforche over 12 years ago
- Status changed from Resolved to Closed
Released in Wt 3.2.2