Solved

what is the java script code to open an embeded you tube video on an onclick mouse event

Posted on 2011-03-08
4
220 Views
Last Modified: 2012-06-21
what is the java script code to open an embeded you tube video on an onclick mouse event, where the mouse will click on a thumbnail that is seperate from the embeded video?
0
Comment
Question by:julianne26
  • 3
4 Comments
 
LVL 8

Expert Comment

by:vsudip
ID: 35078832
0
 

Author Comment

by:julianne26
ID: 35085560
i tried it and i am half way there!! i just need to be able to click on the thum nails, and they in turn will call the embeded video to play.. rember the thumbnials are SEPERATE from the embeded video...heres the code that i need help with

<A HREF="some you tube video link" onclick='return playVideo("ben1","videoPlayback")'>ben 1</A>


where it says "ben 1</A>"  i need to to be able to replace it with a thumbnail (images/play_button_video_1.png) which will fire off the onClick mouse event tp play the video

thanks in advance!
0
 

Accepted Solution

by:
julianne26 earned 0 total points
ID: 35086939
forget the previous question. i figured it out.. i have another one..

each time you click on the links, the link jumps back up to the top of the page, is there any java script the prevents the link from causing the screen to jump? I need the user to be at the same place that he or she was visting, is this possible??
0
 

Author Closing Comment

by:julianne26
ID: 35252774
i have another way to get the solution, however he still deserves an A
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Often, people trade privacy and security for convenience. However in today's concrete jungle, this is an extremely foolish decision considering the vast amount of technologies being used against consumer interest. First off, I won't waste any time e…
Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now