Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-08-2010, 08:06 PM   PM User | #1
scubadiver007
New to the CF scene

 
Join Date: Sep 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
scubadiver007 is an unknown quantity at this point
Arrow DIV popup issues

Hello,

Take a look at this page and this just what I want:

http://yensdesign.com/tutorials/popupjquery/

But I have two issues concerning this:

1)I am able to insert a youtube image into the popup BUT when I click on the 'X' the popup disappears but the audio remains.What I would like to do is somehow alter the code so the popup is "destroyed" and the clip is stopped completely including the audio.


2) I also want to able to adapt the code so that I can click on any one of multiple youtube links and get the same effect.


My javascript capabilities aren't that strong so any help or links to other pages or suggestions are welcome.
scubadiver007 is offline   Reply With Quote
Old 09-09-2010, 06:26 PM   PM User | #2
jimhill
Regular Coder

 
Join Date: Jul 2010
Posts: 271
Thanks: 3
Thanked 40 Times in 40 Posts
jimhill is an unknown quantity at this point
I would use youtubes api. Here is some info on it. Using this in the onunload function should work. I havent tried it yet but will be attempting it.

http://code.google.com/apis/youtube/...layback_status
jimhill is offline   Reply With Quote
Reply

Bookmarks

Tags
div, embed, youtube

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:58 PM.


Advertisement
Log in to turn off these ads.