Re: [Lazarus] play video and music from the web
On 02/13/2014 02:37 PM, Andrew Brunner wrote: Chrome is by far the most widely versatile. FireFox did not spring for MP3 licensing. Firefox requires streams as ogg. For Videos I do on on Websites I now use HTM5 with both mp4 and ogg. With that most browsers are happy (but not the old IE that is the latest version installable on W-XP). Before that I did Flash videos, but here the mobile Apple devices decline. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] play video and music from the web
Possibly. In my computer the above site says that MP3 is supported (only the second and third features aren't supported). On Thu, Feb 13, 2014 at 7:12 PM, duilio foschi wrote: > http://areweplayingyet.org/ > > this is a nice suite of audio tests for html5 browsers :) > > The last version of Mozilla Firefox (stub 27.0) does not support the > playback of MP3 in my PC running w7. > > Can one install a MP3 video player into w7 or w8 so that MF will be > able to use it ? > > Thank you > Duilio > > > > 2014-02-13 18:52 GMT+01:00 Kostas Michalopoulos >: > > On Thu, Feb 13, 2014 at 3:28 PM, Andrew Brunner > > wrote: > >> > >> There are politics involved with regard to streaming support. I feel > that > >> "pressure" should be applied to FireFox for lack of support for mpeg. > HTML5 > >> is supposed to "pave the way" to have a native solution for streaming - > e.g. > >> to help developers depend less on proprietary components like FLASH; and > >> move into depending on the browser. > > > > > > Firefox supports H.264/AAC/MP3 video/audio playback but only when it is > > already installed in the OS. See > > https://bugzilla.mozilla.org/show_bug.cgi?id=799318 > > > > > > -- > > ___ > > Lazarus mailing list > > Lazarus@lists.lazarus.freepascal.org > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] play video and music from the web
http://areweplayingyet.org/ this is a nice suite of audio tests for html5 browsers :) The last version of Mozilla Firefox (stub 27.0) does not support the playback of MP3 in my PC running w7. Can one install a MP3 video player into w7 or w8 so that MF will be able to use it ? Thank you Duilio 2014-02-13 18:52 GMT+01:00 Kostas Michalopoulos : > On Thu, Feb 13, 2014 at 3:28 PM, Andrew Brunner > wrote: >> >> There are politics involved with regard to streaming support. I feel that >> "pressure" should be applied to FireFox for lack of support for mpeg. HTML5 >> is supposed to "pave the way" to have a native solution for streaming - e.g. >> to help developers depend less on proprietary components like FLASH; and >> move into depending on the browser. > > > Firefox supports H.264/AAC/MP3 video/audio playback but only when it is > already installed in the OS. See > https://bugzilla.mozilla.org/show_bug.cgi?id=799318 > > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] play video and music from the web
On Thu, Feb 13, 2014 at 3:28 PM, Andrew Brunner wrote: > There are politics involved with regard to streaming support. I feel that > "pressure" should be applied to FireFox for lack of support for mpeg. > HTML5 is supposed to "pave the way" to have a native solution for > streaming - e.g. to help developers depend less on proprietary components > like FLASH; and move into depending on the browser. Firefox supports H.264/AAC/MP3 video/audio playback but only when it is already installed in the OS. See https://bugzilla.mozilla.org/show_bug.cgi?id=799318 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] play video and music from the web
On 2/13/2014 9:06 AM, duilio foschi wrote: Hi Andrew, which is a conservative way to go for a music player on the web ? Which is method used by - say - YouTube ? youtube was using a flash video player thing... i don't know what they are using now that google owns them... i've not tried to save any of their videos to local storage in a year or two... -- NOTE: No off-list assistance is given without prior approval. Please keep mailing list traffic on the list unless private contact is specifically requested and granted. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] play video and music from the web
Well, those of us who depend on browser technologies are pushing HTML5 standards hard. But mpeg is the standard streaming format used for video and audio. Since FireFox is an open sourced initiative they feel that they are "selling out" to include a licensed streaming component for mpeg. Their way around that is to include flash player [out of the box]. Having said that - at least presently - you would have to use a flash player wrapper as a fallback if the browser is FireFox. As for Chrome you would be well off using the tag to construct an instance. If you know JavaScript the Aurawin VDM comes with extensive streaming media support via HTML5. You can download it at https://aurawin.com/downloads/ Look in the /core/vdm/music/coMusic.js file. While it is an entire app built around a certain framework - you can certainly view the code to learn how build your own player for your own web page. Look in the /core/vdm/music/Player.js file for my "wrapper" that just encapsulates the browser's playback implementation. There are politics involved with regard to streaming support. I feel that "pressure" should be applied to FireFox for lack of support for mpeg. HTML5 is supposed to "pave the way" to have a native solution for streaming - e.g. to help developers depend less on proprietary components like FLASH; and move into depending on the browser. I'm sure egos are involved with regard to the lack of mpeg support. However, the market is clearly demanding streaming capabilities for mpeg. Ogg support (and that's with Google backing) has never materialized as expected. So it's time for FireFox to invest back into their browser and include support for mpeg audio and video. They have the money. They just need to realize they are not compromising on their standards but embracing a great piece of technology that is mpeg. On 02/13/2014 08:06 AM, duilio foschi wrote: Hi Andrew, which is a conservative way to go for a music player on the web ? Which is method used by - say - YouTube ? Thank you Duilio 2014-02-13 14:37 GMT+01:00 Andrew Brunner : Not all HTML5 browsers support multi-media. Supported file formats depends on the operating system and browser. Chrome is by far the most widely versatile. FireFox did not spring for MP3 licensing. Firefox requires streams as ogg. So don't expect much media support from them. On 02/13/2014 03:09 AM, Michael Schnell wrote: On 02/12/2014 10:36 PM, duilio foschi wrote: This requires the browser to support HTML5 (nowadays most do) -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Andrew Brunner Aurawin LLC 512.850.3117 https://aurawin.com/ Aurawin is a great new way to store, share and enjoy your photos, videos, music, and more. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Andrew Brunner Aurawin LLC 512.850.3117 https://aurawin.com/ Aurawin is a great new way to store, share and enjoy your photos, videos, music, and more. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] play video and music from the web
Hi Andrew, which is a conservative way to go for a music player on the web ? Which is method used by - say - YouTube ? Thank you Duilio 2014-02-13 14:37 GMT+01:00 Andrew Brunner : > Not all HTML5 browsers support multi-media. Supported file formats depends > on the operating system and browser. Chrome is by far the most widely > versatile. FireFox did not spring for MP3 licensing. Firefox requires > streams as ogg. So don't expect much media support from them. > > > > > On 02/13/2014 03:09 AM, Michael Schnell wrote: >> >> On 02/12/2014 10:36 PM, duilio foschi wrote: >>> >>> >> >> This requires the browser to support HTML5 (nowadays most do) >> >> -Michael >> >> -- >> ___ >> Lazarus mailing list >> Lazarus@lists.lazarus.freepascal.org >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > > -- > Andrew Brunner > > Aurawin LLC > 512.850.3117 > https://aurawin.com/ > > Aurawin is a great new way to store, share and enjoy your photos, videos, > music, and more. > > > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] play video and music from the web
Not all HTML5 browsers support multi-media. Supported file formats depends on the operating system and browser. Chrome is by far the most widely versatile. FireFox did not spring for MP3 licensing. Firefox requires streams as ogg. So don't expect much media support from them. On 02/13/2014 03:09 AM, Michael Schnell wrote: On 02/12/2014 10:36 PM, duilio foschi wrote: This requires the browser to support HTML5 (nowadays most do) -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Andrew Brunner Aurawin LLC 512.850.3117 https://aurawin.com/ Aurawin is a great new way to store, share and enjoy your photos, videos, music, and more. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] play video and music from the web
On 02/12/2014 10:36 PM, duilio foschi wrote: This requires the browser to support HTML5 (nowadays most do) -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] play video and music from the web
gotcha! It is easy ! Your browser does not support the video tag. The control attribute adds video controls, like play, pause, and volume. 2014-02-12 22:33 GMT+01:00 duilio foschi : > I found the code below and it works. > > However, it seems a bit primitive to me. > > What if the music is 2h long ? > > How can I start, stop then restart the music and control the volume as > (say) youtube does ? > > Maybe I can find a commercial library ? > > Thank you > Duilio > > > > > > > > If you cannot hear the sound, your computer or browser doesn't > support the sound format. > Or, you have your speakers turned off :) > > > > > 2014-02-12 21:51 GMT+01:00 duilio foschi : >> sorry for my ignorance. >> >> How is a musical track (say a WAV file) played in a web application ? >> >> The file is to be loaded at the server-side. >> >> Thank you >> Duilio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] play video and music from the web
I found the code below and it works. However, it seems a bit primitive to me. What if the music is 2h long ? How can I start, stop then restart the music and control the volume as (say) youtube does ? Maybe I can find a commercial library ? Thank you Duilio If you cannot hear the sound, your computer or browser doesn't support the sound format. Or, you have your speakers turned off :) 2014-02-12 21:51 GMT+01:00 duilio foschi : > sorry for my ignorance. > > How is a musical track (say a WAV file) played in a web application ? > > The file is to be loaded at the server-side. > > Thank you > Duilio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] play video and music from the web
sorry for my ignorance. How is a musical track (say a WAV file) played in a web application ? The file is to be loaded at the server-side. Thank you Duilio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus