I have a video marketing site and wanted to showcase examples on the homepage from a side "menu".

I set up a script and it works perfectly in Fire Fox. Then tried it in IE and the function pulls the video into the correct spot but does not play the video and generates the 1009 error.

I debugged and it said that the tag video

I'm very puzzled and am hoping you can help get this to play in both browsers.

My test page is at http://www.VideoSalesLeads.com/test-2

Here's script I added to head:

<script type="text/javascript">
function playVideo(sourceId, targetId) {
if (typeof(sourceId)=='string') {sourceId=document.getElementById(sourceId);}
if (typeof(targetId)=='string') {targetId=document.getElementById(targetId);}
return false;

Here's the code on the page:

<div id="recent-projects">
<div class="video-samples-container">
<div class="video-samples"><a href="#" onclick='playVideo("selectDemo1","video2")'><img src="/images/1.png" width="97" height="72" alt="Restaurant Marketing Video 1"></a><div class="video-samples-text">60 second video</div></div></div></div>

Here's the video that's supposed to be called and played in the video2 container and works in FF but not in IE:

<div id='selectDemo1' style='display: none;'><!-- WP EVP Video - DO NOT MODIFY --><img class="wpevp-container" src="http://www.videosalesleads.com/wp-content/plugins/wp-evp/images/placeholder.png" style="display: block; width: 400px; height: 200px;" alt="PGNlbnRlcj48ZGl2IGlkPSJldnAtMjYwNmQ0Y2UwNzA5MTM2N2JlN2YwNWNhYjJhMDVhZTgtd3JhcCIgY2xhc3M9ImV2cC12aWRlby13cmFwIj48L2Rpdj48c2NyaXB0IHR5cGU9InRleHQvamF2YXNjcml wdCIgc3JjPSJodHRwOi8vd3d3LnZpZGVvc2FsZXNsZWFkcy5jb20vdnNsLWFkbWluL2ZyYW1ld29yay5waHA/ZGl2X2lkPWV2cC0yNjA2ZDRjZTA3MDkxMzY3YmU3ZjA1Y2FiMmEwNWFlOCZpZD1hSFZsTFRFdVpteDImdj0xMzAzNDg1MDAzJnByb2ZpbGU9ZGVmYXVsdCI+PC9zY3JpcHQ+PHNjcmlwdCB0eXBlPSJ0ZXh0L2ph dmFzY3JpcHQiPiBfZXZwSW5pdCgnYUhWbExURXVabXgyW2V2cC0yNjA2ZDRjZTA3MDkxMzY3YmU3ZjA1Y2FiMmEwNWFlOF0nKTs8L3NjcmlwdD48L2NlbnRlcj4=" /><!-- END WP EVP Video - DO NOT MODIFY --></div>

Can you help to get it to work? Or do you have any other suggestions? Thanks for your help.