I have a simple HTML/JS document in which I am after clicking on the image trying to play the video:
<!DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript">
var embedCode = '<object data="http://www.youtube.com/watch?v=Ac_qGnPX8eI" type="application/x-shockwave-flash" height="240" width="320"><param name="src" value="http://www.youtube.com/watch?v=Ac_qGnPX8eI"><param name="allowfullscreen" value="true"></object>'
</script>
</head>
<body>
<div id="videocontainer">
<img src="C:\thesis\100GreatP\eclipse_ws\test\src\org\cnstar\wiki\data\calm_waters.jpg" onclick="document.getElementById('videocontainer').innerHTML = embedCode;" height="240" width="320" />
</div>
</body>
</html>
However, after clicking on the picture, nothing happens. This issue was already explained in question replace image with a video embeded, where the solution was presented in the way I did it in my HTML document. But that is not working for me. Shockwave/Flash player installed on the computer. Didnt succeed to load in any of the browsers (IE, Firefox, Chrome). Thanks for your help.