Thanks for your answer,
As you can see in:
<audio src="{{=URL(a=request.application, c='static', f='audio2.ogg')}}"
controls="controls" type="audio/ogg">
Your browser does not support the audio element.
</audio>
the URL content is not the problem. In that case, I would be able to listen
at least one time the audio tag.
Nevermind, I corrected the bad once and I still having troubles. I decided
to install Chormium in order to isolate the problem. I realized that
Chromium plays the files without problems, while Firefox only plays the
files with simple htmls examples like this one:
<!DOCTYPE html>
<html>
<body>
Hello World <br></br>
<audio controls>
<source src="audio2.ogg" type="audio/ogg">
Your browser does not support the audio element.
</audio>
</body>
</html>
I'm very confused. Maybe the problem is the combination between FF and
web2py, thought I don't see where could the problem be.
Do web2py modify a file before sending it to the client?
I have uploaded audio2.ogg file to videobin.org. With the url given FF can
also play the file, but no luck with URL from web2py.
<!DOCTYPE html>
<html>
<body>
Stream ogg audio file: <br>
<audio id="audio_form_web2py" width="320" height="240" controls="" autoplay=
"" src="{{=URL('static','audio2.ogg')}}" tabindex="0"></audio>
<audio id="audio_form_videobin" width="320" height="240" controls=""
autoplay="" src="http://videobin.org/+6lp/7r1.ogg" tabindex="0"></audio>
</body>
</html>
I hope that you can guide me in order to solve the problem.
Here I give some info. that could be helpful:
OS: Ubuntu 12.10 Linux Kernel 3.5.0-27-generic
Browsers:
FF 20.0
FF Nightly Build 23.0a1
Chromium Version 25.0.1364.160 Ubuntu 12.10
(25.0.1364.160-0ubuntu0.12.10.1)
Thanks
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.