On Wed, Apr 4, 2012 at 3:50 PM, Homer <[email protected]> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.



-- 
Joel Goldstick

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to