how can I instruct the you tube player embeded thru javascript which
video to play, and then change the video to another one?

I am not an Javascript expert but I have figurd out how to embed a
player and make it play 1 video.

But then once that video has played, the player remains on the page.
So I really need to know how to make the player go away?

and also maybe how then Could I make that same player play a different
video? How could I instruct it to play a different video than the one
it just played?

or again, since I know how to embed a video on the page and make it
play a video thru javascript, then how can I make this player go away
at the end, to then be able to embed another player with a defferent
video on the page?

Because like I said can make a player appear on the page playing a
video by calling this function VideoIt():

function VideoIt(){
              var params = { allowScriptAccess: "always" };
          var atts = { id: "myytplayer" };
      swfobject.embedSWF("http://www.youtube.com/v/
ma9I9VBKPiw&border=0&enablejsapi=1&playerapiid=ytplayer",
                         "ytapiplayer", "425", "344", "8", null,
null,
params, atts);

}

but the problem is that at the end it remains on the page. so if I
want to then play another video, I either want to instruct the same
player to play that video, or make that player disapear and go away
and embed another different player with a different video on the page

either or, I have no idea how to do this...

Can anyone shed light please?

Marc
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" 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/Google-Picasa-Data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to