Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by Didjo

  1. Thanks for your answer, about your suggestion I have already thought about it, but change the width and height will also change the quality and resize?
  2. Hi, I wanted to create a new topic but I think I will use this. I have some troubles with my video expand codes: <body> <video id="myVideo" onmouseover="this.src='1080x720.webm';" onmouseout="this.src='300x600.webm';" border="0" onclick="VideoControl()" controls autoplay> <source src="300x600.mp4" type="video/mp4"> <source src="300x600.webm" type="video/webm"> <source src="300x600.ogv" type="video/ogg"> Your Browser does not support the video tag </video> [...] </body> As you can see, my page loads a vid
  3. I tried this: function test() { var i = 0; var bool = boolean; var myVideo = document.getElementById('Video1'); bool = "true"; While i < 7 If myVideo.ended() myVideo.play() i++ } } I may be wrong in my syntax but is correct if i make something like this? And how do i put this function in <video id="Video1" ...> ?
  4. Hi, Thank you for your answers, I tried this, of course it didn't work: function timer() { var myVideo = document.getElementById('Video1'); var i = 0; while (i < 2) { myVideo.loop = true; i++; } myVideo.loop = false; } Did I forget something or the syntax is completely wrong?
  5. Hi everyone, I tried to make a video which will start at the beginning and star over again <video id="Video1" controls autoplay loop> <source src="VideoXYZ.mp4" type="video/mp4"> <source src="VideoXYZ" type="video/webm"> <source src="VideoXYZ" type="video/ogg"> Your Browser does not support the video tag </video> But I want to loop the video 5 or 7 times then it definitely stops until I refresh the page, and of course I don't have a clue how to make a timer to LOOP. First, is it possible to do this? if yes, how to do it? Thank y
  6. Hi, have you tried to put autoplay like this? <object class="BLOG_video_class" contentid="73839d7b1997a137" height="266" id="BLOG_video-73839d7b1997a137" width="320" autoplay></object>
  7. Hi everyone, I'm Didjo, 23, sorry if my english can be sometimes weird, i'm French, i'd like to learn more about Html, CSS, Javascript etc. Well Pleasure to meet you
  • Create New...