0

I have this code that is working on Firefox but not on IE or Chrome. Can someone please help? Thanks!!

<object width="533" height="300">
    <param name="movie" value="http://www.youtube.com/v/2wBe3SDCcz8"></param>
    <param name="wmode" value="transparent"></param>
    <embed src="http://www.youtube.com/v/2wBe3SDCcz8" type="application/x-shockwave-flash" wmode="transparent" 
      width="533" height="300" id="myvideo">
    </embed>

</object>

<script>
function videoplaying() {
var myvideo = "http://embed.break.com/MjM4NTM2Ng==";   
var myEmbed = document.getElementById("myvideo");
myEmbed.setAttribute("src", myvideo);
return false;
}
</script>

<a href="javascript:void(0)" onclick="videoplaying();">Video</a>
2
Contributors
1
Reply
2
Views
4 Years
Discussion Span
Last Post by Taywin
0

You may read this around the bottom of the page. It states the bug about how IE read object tag instead of embeded tag. Also, it is about Google Chrome browser.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.