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 <audio> 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 <[email protected]>:
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:
<video width="320" height="240" controls>
This requires the browser to support HTML5 (nowadays most do)

-Michael

--
_______________________________________________
Lazarus mailing list
[email protected]
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
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
_______________________________________________
Lazarus mailing list
[email protected]
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
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to