They way you *should* do this is by using a FLV player which has a
javascript API you can call through external interface methods to load a new
FLV, but keep the player on page. You could roll your own, but there are
(free) players like JW Media player or Flowplayer which have already done
the hard work.

The ghetto way is to remove and recreate your flvplayer with new flashvars
pointing to a new video, but it it means your player would disapear and have
to be reloaded etc. If you DO want to do it this way, have a look at this
tut:

http://pipwerks.com/lab/swfobject/load-onclick/2.0/index.html
(Using an 'onclick' event to replace a loaded SWF with another SWF)


Cheers,
Aran

On Wed, Sep 16, 2009 at 10:38 AM, pmford <[email protected]> wrote:

>
> Hi All,
>
> I've searched the forum and haven't seen this question - apologies if
> it's been asked.
>
> SWFObject is amazing -- I've successfully embedded an FLV Player into
> an HTML page using the dynamic content option.
>
> Now, I would like my users to be able to load different FLV videos
> into the same player using html links with javascript functions
> attached to them.
>
> Is this possible? I've looked at the createSWF and removeSWF commands,
> but am not having much luck after a couple of days of trying.
>
> Many thanks,
>
> p.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to