Minimalist Streaming Audio (html5) app

Showing 1-6 of 6 messages
Minimalist Streaming Audio (html5) app Massimo Di Pierro 11/22/13 6:33 AM
Re: [web2py] Minimalist Streaming Audio (html5) app viniciusban 11/22/13 12:18 PM
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.
Re: [web2py] Minimalist Streaming Audio (html5) app 黄祥 11/22/13 4:00 PM
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
Re: [web2py] Minimalist Streaming Audio (html5) app Massimo Di Pierro 11/22/13 7:20 PM
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,
Re: Minimalist Streaming Audio (html5) app JoeCodeswell 11/23/13 10:36 AM
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:
Re: [web2py] Re: Minimalist Streaming Audio (html5) app viniciusban 11/24/13 6:59 AM
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/
>