Hello, i'm trying to embed a video from youtube, im doing it from a web API<https://developers.google.com/youtube/iframe_api_reference> :
https://developers.google.com/youtube/iframe_api_reference It is shown in a kind of popup windows (it is not really a new windoe, only a div shown in the foreground of the page if the link is clicked), made through javascript, the page is very simple but the script crushes if written inside the popup. I really can't understand why as the ajax call remain the same. This is the web page <http://pastebin.com/JbdgTTfX>.(It includes the script to embed the video) http://pastebin.com/JbdgTTfX This is the javascript of the popup. <http://pastebin.com/77apbHKh> http://pastebin.com/77apbHKh This is the css <http://pastebin.com/Ms4XbbE3> used to achieve the resulting popup window. http://pastebin.com/Ms4XbbE3 the problem is not caused by the event called in the script of the video, as the scripts crashes before loading the event. But the debugger couldn't give me any information about this bug. Anyone can see it? Agnese -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/_ZCS1s3KFegJ. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.