Link to home
Start Free TrialLog in
Avatar of julianne26
julianne26

asked on

swaping videos in dreamweaver

I need to know the code or the necessary steps to be able to swap videos, with a mouse roll over or click, using Dreamweaver. I have five videos that I need to hold in one single placeholder. I need to swap these videos, each time the mouse is clicked. Is there a way to do this using YouTube videos, embedded codes?

Please HELP!!
Thanks
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Hi julianne26,

Something like this?

http://videolightbox.com/
Avatar of julianne26
julianne26

ASKER

thank you for the reply,

I don’t need to make a gallery, I already have one, i just need to be able to call the play button to play the video, in its place, and then call the next play button to swap the video to the next video in the array. Does the program you showed me allow for the video to be placed in the website you want it to be played, separately not with a gallery?
Ah-ha.  That makes more sense now.  No, the first link I showed you was a gallery.  In order to do what you are talking about, you'll need a player that supports a playlist.  The JW Media Player can use an XML file to load a whole sequence of videos into the one player instance and allow you to quickly move from video to video.

http://www.longtailvideo.com/

ok great, this is deff arrounf the ball park, I just need to know where i can insert my XML file to get the player woking. Is there a tourtorial on how to use the jw player?
ASKER CERTIFIED SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
my thumbnails that need to link to the videos playing, are not in the same slice area has the embedded jw player.. is there any way to call the the thumbnails that are not in the same location as the jw player to actually play the video?? I have provided a link so you can see what I am trying to do...

http://www.zorrobrothers.com/ben_webster2.html

Please Help!
If you want to separate the triggers, you don't have to use a playlist.  Instead, each of those links needs to have an onclick event attached to it and you rewrite the swfobject options based on values passed through the onclick event.
sorry for not being clear.. really all i want to do is hover the mouse over the green play button and with that it calls the first video to play, on click or on hover, just as long as it plays the video, what is the code to call a mouse event, for the last solution you provided  as in the link provided above, and what would i have to change in the  swf objects to make everything work??  thanks
The discussion thread should be pretty clear and give you the way forward.  Look at the posts from AJAX and lost specifically.

You can mix onhover and onclick in the <a> tag. onhover would replace the thumbnail in the player and onclick would change the video.
its really no that clear at all.. im stuck :/
Sorry.  You may want to use this as a jumping off point for a new question in the Javascript zones.  Those folks are a lot better than I am with issues like this.