i have a situation i want to add a vimeo player in to my site,and above the player i need to show an image. when image is clicked i want vimeo player to play. till now i have done a little in which i managed to get vimeo player on page on image click.but now i need to mannually play it. any one tell me how i can autoplay it on image click? i have already done some code nd i am pasting it here
<script type="text/javascript">
function imgClick() {
var video = '<iframe src="http://player.vimeo.com/video/36302746?title=0&byline=0&portrait=0" width="400" height="225" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""> </iframe>';
document.getElementById("vPlayer").innerHTML = video;
}
</script>