This works well with html5 video and the VLC plugin [uses playlist.play() instead of .play()] but not flash. Ive looked at flashplayers parameters it appears to use play() as well, but it doesnt work. Not sure what else to do.

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style>
#video {}
#image {}
</style>
</head>

 

<body>
<object type="application/x-shockwave-flash" data="FLVPlayer_Progressive.swf" width="1280" height="720" wmode="transparent"  id="video">
<param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Clear_Skin_1&amp;strea mName=videos/720_FLV&amp;autoPlay=false&amp;" />
</object>
<img src="images/button.jpg" width="100" height="70" id="image" />

 

<script type="text/javascript">
var v = document.getElementById("video");
var i = document.getElementById("image");
i.onclick = function() {
		v.play();
};
</script>

 

</body>
</html>