On Tue, 2008-05-13 at 06:04 +0200, Loic Dachary wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> >> Is it not possible to play sound files directly ? That would
> >> remove a conversion step.
> >>
> >
> > http://proppy.aminche.com/soundswiff/index.html
> > http://proppy.aminche.com/hg/soundswiff/rev/a038cf603655
> My understanding (based on
> http://www.boutell.com/newfaq/creating/audio.html mostly) is that
> using embed with .wav is very likely to have unwanted side effects
> because the sound plugins installed on the navigator and associated
> with the .wav extension / mime time will interfere with the presentation.

Yes, this is the main issue: different behaviour depending of the
platform, the plugins, and the browser relationship.

<embed> plugin should not interfere with the presentation, if using
width/height of 1px, but I can't garanti that, with all
plugins/browser/platform combinaison.


> I should rephrase my question : is it possible, with a flash plugin,
> to load external sound files instead of embedding the sound file
> within a .swf ? That would be easier to maintain.
> 

Yes, that's how youtube and mp3 web player does it, but depending of the
flash player installed, that may require additionnal codecs installation
as well, for example gnash sound/video backend is based on gstreamer,
and trigger installation of required plugins if needed.
(But I bet/hope that's not the case if using PCM/wav codecs).

Another alternative (not necessarly better), would be to do to
conversion on the fly, using the ming library:

Use a php-ming script that output swf bytecode for playing a wav file,

That would be nearly the same script than:
http://www.gazbming.com/getexample.php?id=85
But using $movie->output() instead of $movie->save() to output the swf
bytecode directly from the script, and allow to <embed> the .php file
directly from html.
-- 
Johan Euphrosine <[EMAIL PROTECTED]>


_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to