It is unlikely that this is web2py related, but I'm about to go crazy with
this one. But I guess it's such a general thing someone must know what is
going on.

I'm using different uploaded media, such as files, images and flash files
(.swf files). I can display images without problem, but not flash. Here's my
view template:

<object type="application/x-shockwave-flash" width="{{=obj.width}}px"
height="{{=obj.height}}px"
             data="{{=URL(r=request,f='download',args=obj.image)}}">
  <param name="quality" value="best" /><param name="allowfullscreen"
value="true" />
  <param name="scale" value="showAll" /><param name="movie"
value="{{=URL(r=request,f='download',args=obj.image)}}" />
</object>


The movie does not load and the flash player menu states "Movie not
loaded...". However this should work, since it works fine with static files:

<object type="application/x-shockwave-flash" width="360px" height="190px"
             data="{{=URL('static/images','teaser_2008012901.swf')}}">
  <param name="quality" value="best" /><param name="allowfullscreen"
value="true" />
  <param name="scale" value="showAll" /><param name="movie"
value="{{=URL('static/images','teaser_2008012901.swf')}}" />
</object>

Any tips?
Miguel

Reply via email to