Minimalist Streaming Audio (html5) app

181 views
Skip to first unread message

Massimo Di Pierro

unread,
Nov 22, 2013, 9:33:17 AM11/22/13
to web...@googlegroups.com

Vinicius Assef

unread,
Nov 22, 2013, 3:18:45 PM11/22/13
to web2py
Beautiful. :-)

On Fri, Nov 22, 2013 at 12:33 PM, Massimo Di Pierro
<massimo....@gmail.com> wrote:
> http://www.reddit.com/r/Python/comments/1r7v23/audio_streaming_app_in_web2py_from_scratch/
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> 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 web2py+un...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

黄祥

unread,
Nov 22, 2013, 7:00:15 PM11/22/13
to web...@googlegroups.com
why it's not work when i upload a video? what can i do to run the video too on the application?
this is the result when i upload video :

thanks and best regards,
stifan

Massimo Di Pierro

unread,
Nov 22, 2013, 10:20:10 PM11/22/13
to web...@googlegroups.com
Because your expand_all does not recognize the wmv extension. In gluon/contrib/autolinks.py there is a list of supported formats:

    'mov': video,
    'mpe': video,
    'mp4': video,
    'mpg': video,
    'mpg2': video,
    'mpeg': video,
    'mpeg4': video,
    'movie': video,

try add

    'wmv': video,

JoeCodeswell

unread,
Nov 23, 2013, 2:55:44 PM11/23/13
to
Dear Massimo,

Thanks for this. I am very interested in streaming audio with web2py.

However:
  • When I implemented on my local server, the streaming players seemed to not appear for uploaded .mp3 files.
  • When I implemented on WebFaction, the streaming players appear to flash when the page is refreshed and then disappear again.
I am viewing with Firefox 25.0.1. on Windows XP sp3.

Since I began to write this post, I did a little research. I now believe that this is a Windows XP problem.

The w3schools site says here for MP3:

NO
Update: Firefox 21 running on Windows 7, Windows 8, Windows Vista, and Android now supports MP3

So no good for MP3 on (Firefox 25.0.1; Windows XP sp3). Not a web2py problem. A .wav file works great both locally and on WebFaction.

Here's a link to a related Firefox bug.

Thanks again, Massimo.

Love and peace,

Joe


On Friday, November 22, 2013 6:33:17 AM UTC-8, Massimo Di Pierro wrote:

Vinicius Assef

unread,
Nov 24, 2013, 9:59:56 AM11/24/13
to web2py
Joe, a little offtopic, but avoid using w3schools.

See why: www.w3fools.com

On Sat, Nov 23, 2013 at 4:36 PM, JoeCodeswell <joecod...@gmail.com> wrote:
> Dear Massimo,
>
> Thanks for this. I am very interested in streaming audio with web2py.
>
> However:
>
> When I implemented on my local server, the streaming players seemed to not
> appear for uploaded .mp3 files.
> When I implemented on WebFaction, the streaming players appear to flash when
> the page is refreshed and then disappear again.
>
> I am viewing with Firefox 25.0.1. on Windows XP sp3.
>
> Since I began to write this post, I did a little research. I now believe
> that this is a Windows XP problem.
>
> The w3schools site says here for MP3:
>
>> NO
>> Update: Firefox 21 running on Windows 7, Windows 8, Windows Vista, and
>> Android now supports MP3
>
>
> So no good for MP3 on Windows XP. Not a web2py problem. A .wav file works
> great both locally and on webFaction.
>
> Thanks again, Massimo.
>
> Love and peace,
>
> Joe
>
>
>
> On Friday, November 22, 2013 6:33:17 AM UTC-8, Massimo Di Pierro wrote:
>>
>>
>> http://www.reddit.com/r/Python/comments/1r7v23/audio_streaming_app_in_web2py_from_scratch/
>
Reply all
Reply to author
Forward
0 new messages