Forum Moderators: open
<script>
playmovie('testcommand');
</script>
it works great in IE but it doesn't work in firefox, altho the button click does work in firefox. does anyone know why?
here's the url for the file
[dodosmb.com...]
button clicks work in both IE and firefox
page load will sound only in IE, nothing happens in firefox.
This is incorrect Javascript ( document.[ )
The playmovie function calls another function to check whether the movie has loaded, perhaps this function is returning false.
Edit an alert into playmovie to see:
function playmovie(movieName) {
alert( movieIsLoaded(thisMovie(movieName)) );
if (movieIsLoaded(thisMovie(movieName))) {
thisMovie(movieName).Play();
}
}