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
Adobe Dreamweaver

Avatar of undefined
Last Comment
Jason C. Levine
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/

Avatar of julianne26
julianne26

ASKER

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

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of julianne26
julianne26

ASKER

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.
Avatar of julianne26
julianne26

ASKER

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.
Avatar of julianne26
julianne26

ASKER

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.
Adobe Dreamweaver
Adobe Dreamweaver

Adobe Dreamweaver is a web development tool featuring both WYSIWYG and code editors that allow the user to quickly and easily build websites in a wide variety of languages, including ASP, ASP.NET, ColdFusion and PHP. It also offers support for CSS and JavaScript.

11K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo