shouldn't this be:
> <object height="25%"width="25%"classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
It looks like you have no space after the object tag before the height attribute
> <param name="ClickToPlay" value="1" />
> <param name="FileName" value="{{ media_url }}/media/audios/baoxiangui.m4a"
> />
> </object>
> {% endfor %}
>
> Should I add something else so that it would work? Thanks for your help!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/YGBeVMertYYJ.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
--
Joel Goldstick
> Should I add something else so that it would work? Thanks for your help!
There's nothing I've seen yet that's a Django problem. Does the
outputted HTML look right? Does that work? If not tell us and we'll
see if we can help you figure out how your Django templating isn't
outputting the right value.
I'll also recommend the HTML audio tag.
On Wed, Apr 4, 2012 at 3:50 PM, Homer <hi...@foxmail.com> wrote:
> I tried to use <object> command in my templates directly, but it seems it is
> not working... Here is my code:
> {% for item in ShowAudio %}
> <objectheight="25%"width="25%"classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">shouldn't this be:
> <object height="25%"width="25%"classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
It looks like you have no space after the object tag before the height attribute
> <param name="ClickToPlay" value="1" />
> <param name="FileName" value="{{ media_url }}/media/audios/baoxiangui.m4a"
> />
> </object>
> {% endfor %}
>
> Should I add something else so that it would work? Thanks for your help!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/YGBeVMertYYJ.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
--
Joel Goldstick