Project

General

Profile

Actions

Bug #1287

closed

WFlashObject: MIME type required in IE9, if swf served as static content

Added by Jorge Paulo almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Low
Assignee:
Target version:
Start date:
05/09/2012
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by Wim Dumon almost 12 years ago

Jorge,

Thank you, will be in git soon.

Regards,

Wim.

Actions #2

Updated by Koen Deforche almost 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
Actions #3

Updated by Pieter Libin almost 12 years ago

  • Status changed from InProgress to Resolved
  • Assignee changed from Pieter Libin to Wim Dumon
Actions #4

Updated by Koen Deforche over 11 years ago

  • Status changed from Resolved to Closed

Released in Wt 3.2.2

Actions

Also available in: Atom PDF