An addendum to the problems I was having with Plone and Flash Player 10. Looks like another problem occurs with Opera if you change the content disposition header to “inline”. Basically, screeds of nonsense displaying instead of the Flash movie or the fall-back image. I’m not sure how widespread this problem is and I’m not prepared to do lots of testing but for the record this was happening with Plone 2.5.3 / SWFObject to embed the Flash file. Various versions of Opera were tested — for instance I’m running version 9.10 on Windows.
I got round it with a bit of old-fashioned browser detection. Basically, Opera’s quite happy to have the content-disposition header left alone, so I needed a direct path to the Flash file for Opera and a path that took in my header setting script for everyone else:
if (navigator.userAgent.indexOf('Opera')>-1) {
swfurl = '&dtml-portal_url;/path/to/flash/myflash.swf' } else {
swfurl = '&dtml-portal_url;/path/to/flash/showflash?flashvid=myflash.swf'
}
swfobject.embedSWF(swfurl, "my-dom-id", "435", "290", "9.0.115");
Not sure why Opera should behave differently to other browsers here.

![1/52: 2/2/09 [Me]](http://farm4.static.flickr.com/3106/3159713828_cde0d36cbf_s.jpg)





0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment