I'm doing some testing to insert a litle flash mp3 player in a page.
The player I have chosen is this:
http://pyjax.net/blog/1/2007/06/27/django-flash-audioplayer/
The template load fine and the players works fine...
The problem comes when I try to load the song URL from a Django
variable.
It works fine, with this:
{% load audioplayer %}
{% audioplayer file="/site-media/music/yanntiersen.mp3",loop=True%}
But , it seems if I insert a varible for loading the song...it does not
like it.
{% load audioplayer %}
{% audioplayer file={{audio_file}}%}
basically ....it does not evaluate de content of "{{audio_file}}".
I'm not sure if what i want can be done...or simple i need to look for
other way.
Any ideas over there?
Thanks
Nuño
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment