hi, i am trying to write this basic embed script that changes its source but it doesn’t work and i dont know why….
can you help me?????
<html>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<title></title>
<meta name=”description” content=””>
<meta name=”keywords” content=””>
<meta name=”author” content=”JAM”>
<meta name=”generator” content=”AceHTML 5 Pro”>
<script language=”javascript”>
<!–
function movie(source){
document.getElementById(‘movie’).src = source;
}
//–>
</script>
</head>
<body>
<form id=”movieForm”>
<embed align=”absmiddle” src=”” alt=”ACTIVEX IS NOT ENABLED ON YOUR BROWSER” id=”movie” loop=”false” title=”Movie” type=”video/msvideo” autostart=”true”>
<input type=”button” value=”Movie1″ onClick=”movie(‘Footage.wmv’)”>
<input type=”button” value=”Movie2″ onClick=”movie(‘Tailwhip.wmv’)”>
</form>
</body>
</html>