Click here to Skip to main content
15,891,567 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I try to do same like below mentioned link

http://www.w3schools.com/html5/tryit.asp?filename=tryhtml5_video_js_prop[^]


i did same coding and all but its not working for me.it says "Microsoft JScript runtime error: Object doesn't support this property or method" i guess some API am missing.
Help with this

Thanks

Kim
Posted
Comments
Brandon Caruana 25-Aug-12 17:29pm    
what version of IE are you using?
kimberly wind 27-Aug-12 7:16am    
am using IE8

There is no jquery on this page that I can see. Does the video show up at all ? I suspect your browser is too old and does not support HTML5.
 
Share this answer
 
<script type="text/javascript">
var myVideo=document.getElementById("video1");

function playPause()
{
if (myVideo.paused)
myVideo.play();
else
myVideo.pause();
}

function makeBig()
{
myVideo.width=560;
}

function makeSmall()
{
myVideo.width=320;
}

function makeNormal()
{
myVideo.width=420;
}
</script>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900