I want to embed an audio file in my web-page. I am using the following
code :-

mp3_file=URL(r=request,c='static',f='1.mp3')
def test_embed():
    embed_mp3=XML('<embed src="%s" autoplay="false" loop="false" />'
%mp3_file)
    return dict(mp3=embed_mp3)

However this is not working . I can't get the file 1.mp3 to play in
the browser .
Can somebody suggest me how to correct this ?

Reply via email to