[Lazarus] play video and music from the web

duilio foschi duiliofoschi at euplan.com
Wed Feb 12 22:33:39 CET 2014


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


<!DOCTYPE html>
<html>
<body>

<embed height="50" width="100" src="horse.mp3">
<p>If you cannot hear the sound, your computer or browser doesn't
support the sound format.</p>
<p>Or, you have your speakers turned off :)</p>

</body>
</html>

2014-02-12 21:51 GMT+01:00 duilio foschi <duiliofoschi at euplan.com>:
> 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




More information about the Lazarus mailing list