Thank you Miguel but I found out that the problem is with my swf file.
It is originally an mp4 file, I tried to convert it with Flash CS4 but
any options I choose seems not working when I call the file form my
web2py view.

When I right click the swf exported by Flash and choose open with
Firefox (the same with IE6) Flash Player starts ok and I can see the
movie. When form inside Flash I try Publish Preview I can see the
movie in my browser. But if I call the file from a web2py view or I
manually call the /static/myfile.swf form the browser nothin happens I
can see nothing.

When I tried to export the original mp4 file to swf with another
software everything is ok (but I have an awful compression rate).

Do you have any experience with Flash swf conversion? Or can you
suggest a better format for online tutorials (flv ?)..thank you

On 28 Lug, 19:28, Miguel Lopes <mig.e.lo...@gmail.com> wrote:
> On Tue, Jul 28, 2009 at 4:48 PM, carlo<syseng...@gmail.com> wrote:
>
> > After several tries I have to ask: are any particular issues with
> > embedding flash objects in views?
>
> > I put the usual in my view:
>
> > {{url=URL(r=request,c='static',f='somefilename.swf)}}
> > <object width="550" height="400">
> > <param name="movie" value="{{=url}}">
> > <embed src="{{=url}}" width="550" height="400">
> > </embed>
> > </object>
>
> > what's bad here? Thank you
> > carlo
>
> Instead try:
>
> <object type="application/x-shockwave-flash" width="600px" height="300px"
>                 data="{{=URL(r=request,c='static',f='somefilename.swf')}}">
>             <param name="quality" value="best" /><param
> name="allowfullscreen" value="true" />
>             <param name="scale" value="showAll" /><param name="movie"
> value="{{=URL(r=request,c='static',f='somefilename.swf')}}" />
> </object>
>
> Miguel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to