how do can I embed video in a django template?

what I tried is this (using jwplayer):

'''
  {% if error_message %}<p><strong>{{ error_message }}</strong></p>{%
endif %}

  <head>
            <script type="text/javascript" src="jwplayer/
jwplayer.js"></script>
  </head>

    <div id="container">Loading the player ...</div>
    <script type="text/javascript">
            jwplayer("container").setup({
            flashplayer: "/player.swf",
            file: "{{movie.location.url}}",
            height: 270,
            width: 480
      });
    </script>
'''
the problem is that the browser ask for 'jwplayer/jwplayer.js' and is
replayed with '404 (NOT FOUND)'.

thanx, yonatan

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to