[SWFObject] IE streaming audio does not auto play

Noah Winecoff asknoah at gmail.com
Thu Oct 12 15:47:14 PDT 2006


I didn't specifically mention this in my first post, but If I hit the pause
button then play the MP3 will start playing. Just another thing that might
help debug this. Thanks everyone.

On 10/12/06, Noah Winecoff <asknoah at gmail.com> wrote:
>
> An example of what you did would be great thanks. I also tried putting the
> flash in an iFrame and dynamically adding the iFrame to the div on the
> button click, but the same issue is happening. I thought for sure that would
> have fixed it.
>
> On 10/12/06, Josh Trout <clearcache at gmail.com> wrote:
> >
> > I had a similar problem a few weeks ago on a project involving a flash
> > piece in an ajax populated div and audio queued by ExternalInterface calls.
> > For a while I thought it was an SWFObject bug (why I joined this list), but
> > I tracked it down to IE's handling of putting an object in via innerHTML.
> > For some reason, IE would embed the object tag correctly, but threw errors
> > on the param tags as if the object tag wasn't there.  Really odd bug and it
> > was definitely an IE thing, not a SWFObject thing.  I'll try to post some
> > examples tomorrow.
> >
> > My workaround was to put the flash piece outside the dynamic div.  Not
> > an option for most projects, but fortunately I had that freedom on that one.
> >
> > On 10/12/06, Geoff Stearns <geoff at deconcept.com> wrote:
> > >
> > > hmm, well i'm stumped i think... i can't think of any reason why that
> > > would happen, other than maybe some issue with IE and using javascript to
> > > embed the swf...
> > > if anyone else can think of some tests to run, or maybe a workaround
> > > that would be cool :)
> > >
> > >
> > >
> > > On Oct 12, 2006, at 4:46 PM, Noah Winecoff wrote:
> > >
> > > Yeah this works when NOT using SWFObject. I have tried putting a
> > > sobjectname.start(); in the actionscript on the sound.onLoad event and
> > > at the very bottom of all the code so it would be ran after everything
> > > initilized thinking it wasn't firing the auto-play because of the mp3 being
> > > cached. I've noticed my current working version with pure embed/object isn't
> > > caching the MP3, like it was when I used SWFObject.
> > >
> > > On 10/12/06, Geoff Stearns <geoff at deconcept.com > wrote:
> > > >
> > > > sounds interesting...
> > > >
> > > > so have you tested without swfobject and it works?
> > > >
> > > > have you tried forcing the clip to start once enough has downloaded?
> > > > you mention that you are relying on the auto-start to start the
> > > > clip,
> > > > but maybe if the audio is cached the auto start isn't being
> > > > triggered?
> > > >
> > > >
> > > >
> > > > On Oct 12, 2006, at 4:25 PM, Noah Winecoff wrote:
> > > >
> > > > > I am using SWJObject 1.4.4 with IE 6. I am displaying a flash
> > > > movie
> > > > > in a hidden DIV. When I show the DIV by clicking a button I also
> > > > > write the flash movie to the DIV with SWFObject. The flash movie
> > > > > then loads a mp3 file VIA loadSound(), which should auto play once
> > > > > sufficient data has been downloaded. This works in Internet
> > > > > Explorer the first time the player is accessed, but if I hide the
> > > > > DIV and show it again the sound will not auto play. I've also
> > > > > noticed that it will only fail the second try IF the mp3 was
> > > > > completely downloaded the first time.
> > > > >
> > > > > Any help would be greatly appreciated. Currently I have had to
> > > > > scrap SWFObject for a pure object/embed tag solution. I would much
> > > > > rather use SWFObject to embed this movie.
> > > > >
> > > > > Thanks in advance.
> > > > > _______________________________________________
> > > > > SWFObject mailing list
> > > > > SWFObject at lists.deconcept.com
> > > > > http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> > > >
> > > > _______________________________________________
> > > > SWFObject mailing list
> > > > SWFObject at lists.deconcept.com
> > > > http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> > > >
> > >
> > > _______________________________________________
> > > SWFObject mailing list
> > > SWFObject at lists.deconcept.com
> > > http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> > >
> > >
> > >
> > > _______________________________________________
> > > SWFObject mailing list
> > > SWFObject at lists.deconcept.com
> > > http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> > >
> > >
> > >
> >
> >
> > --
> > ~Trout
> > http://www.amongtrout.com
> > _______________________________________________
> > SWFObject mailing list
> > SWFObject at lists.deconcept.com
> > http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20061012/44a47076/attachment-0005.htm>


More information about the Swfobject mailing list