Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~304 People Reached
Favorite Forums
Favorite Tags
Member Avatar for ttkh2011

I'm trying to pass the youtube URL to the embed src. It's working in Firefox but not IE or Chrome. Can someone please help me? <script> function videoplaying() { var myvideo = "http://www.youtube.com/v/2wBe3SDCcz8"; var myEmbed = document.getElementById("myvideo"); myEmbed.setAttribute("src", myvideo); return false; } </script> <a href="javascript:void(0)" onclick="videoplaying();">Video</a>

Member Avatar for Sogo7
0
122
Member Avatar for ttkh2011

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"); …

Member Avatar for Taywin
0
182