Well, you should be able see the response from the server in Firebug or Chrome Console. If it's 404 you need to look at your paths. If it's 200 you have a frontend issue.
-m
-- On 27 April 2012 14:37, atul khairnar <atulnkhairnar@gmail.com> wrote:
Yes, I am using embedded player in html in the front end.
I think the path where i am storing the files, server could no access
them?
On Apr 26, 2:35 pm, Mario Gudelj <mario.gud...@gmail.com> wrote:
> How do you expect it to play? Do you have a player on the front end? Also,
> if you look at the assets loaded into a browser - you can do this with Net
> panel in firebug - does the file get loaded?
>
> On 26/04/2012 2:23 PM, "atul khairnar" <atulnkhair...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi,
> > I am writing Internet Radio App using Django. When i load the stream page
> > in the browser (i.e. play_page.html) server does not stream the audio file
> > at all.
> > I have following settings in my project.
>
> > MEDIA_ROOT = '/home/atul/Atul/django_radio/'
> > MEDIA_URL = ''
>
> > Audio File's Model:
>
> > class Audio(models.Model):
> > title = models.CharField(max_length=200)
> > mp3 = models.FileField(upload_to = u'talks/', max_length=200)
> > seconds = models.IntegerField(blank = True, null = True)
> > def __unicode__(self):
> > return self.title
>
> > Audio Files are stored at: '/home/atul/Atul/django_radio/talks/'
>
> > I don't get why server unable to access the media file stored at above
> > location??
> > or does problem lies elsewhere?
>
> > --
> > Atul Khairnar
> > College of Engineering , Pune
> > Cell - (+91)9579289613
>
> > --
> > 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.
--
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.
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