Probably the problem is the nested quotes in 

flashvars="audioUrl="{{=URL('download', args=image.file)}}"


should be


flashvars="audioUrl={{=URL('download', args=image.file)}}">




On Thursday, 21 March 2013 00:25:53 UTC-5, Gennaro Kukonu wrote:
>
> I am new to web2py, and I am trying to get an embedded mp3 player to play 
> audio files stored in a database locally. I am using Google player, and I got 
> the following to work on my webpage
> developed in web2py:
>
> <embed type="application/x-shockwave-flash" 
> src="http://www.google.com/reader/ui/3523697345-audio-player.swf"; 
> quality="best" 
> flashvars="audioUrl=http://www.pacdv.com/sounds/free-music/glow-in-the-dark.mp3";>
>
> However, when I tried to substitute embedded python code to play a file 
> retrieved from the database, it will not work:
>
> <embed type="application/x-shockwave-flash" 
> src="http://www.google.com/reader/ui/3523697345-audio-player.swf"; 
> quality="best" flashvars="audioUrl="{{=URL('download', args=image.file)}}">
>
> I am wondering what it is I am doing wrong as I do not get any sort of error 
> message.
>
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to