Hi.
I made a little flash video (about 15 seconds), and I’m trying to launch it in a new window when the user clicks a button. So onclick=”runTutorial();” of the button, I do this in javascript
[code]
function runTutorial()
{
window.open(‘path/to/tutorial.html’,’mywindow’,’width=677,height=510,resizable=no,scrollbars=no,toolbar=no,directories=no,menubar=no’);
}
The page tutorial.html is just a page containing only the flash video.
It works perfectly fine in Firefox, Opera and Safari.
In Chrome, though, it works the first time I click the button, but if I try to launch the tutorial again, the window pops open, but the flash content doesn’t play.
What’s funnier is that it works just fine in Chrome if I’m running it from my localhost, but not from my actual webserver.
In IE, nothing happens when I click the button. I don’t even get the “Popup blocked” notification.
Anyone know what might be going on? or maybe a better way to launch a video onclick?
Thanks.