Jump to content


  • Posts

  • Joined

  • Last visited

About T1000Android

  • Birthday 05/26/1986

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

T1000Android's Achievements


Newbie (1/7)



  1. In javascript, there are no types like in C. The browser automatically figures out the type of the variable based on its value so there is no need for int, float, or char.
  2. Thanks scientist, but I'm not familiarized with the methods since I'm new to this.
  3. Thanks. I panicked for a second there.
  4. Hi guys! I found this code on the internet the other day. The code works fine: it enumerates the methods of the document object. <script type="text/javascript">function getMethods(obj) { var result = []; for (var id in obj) { try { if (typeof(obj[id]) == "function") { result.push(id + ": " + obj[id].toString()); } } catch (err) { result.push(id + ": inaccessible"); } } return result;}alert(getMethods(document).join("\n"));</script> What I don't understand is what's that on the third line? I know that "var result = [];" is a variable named "result" but what's that it's equal to? What does the array operator mean when given as a value to a variable?
  5. I don't really care about apple devices. I want to make PC browser utilities and games.The question that bugs me the most is question #1.
  6. Hi all! I'm considering to learn FLASH. But in the tutorials I've watched so far, I saw there was some code, but most teachers used the interface to achieve things in FLASH. My questions are: 1. Do I learn flash as an ECMAscript, or do I just learn to use the interface of Adobe FLASH CS# ?2. Does w3schools have a flash tutorial any more?3. If not, where is the best place to start? Thanks!
  7. Ok, I have 1 final question: Why doesn't my video (not the flash one) work without a server? And how do I select which player to use?
  8. Thanks for the code. I'll try it. I'm looking at my site in Mozilla and IE9, not Safari (I don't have Safari). It won't even work in IE9. It just jumps down to:"Your browser doesn't seem to support the video tag." EDIT1: OOPS!Looks like my IE9 is broken. I went to a site with a non-flashplayer video and I got an error: "Internet Explorer cannot open the Internet Site www.blabla.com- operation aborted" Looks like I need some plugins. EDIT2: I converted the video to swf and it does work in flash using the code you gave me. Controls are added using javascript or flash? Thanks a bunch.
  9. Ok! I've converted the movie to all 3 formats and it does work. I have to mention that this does work only through the server when using the code OTTO suggested: <video id="video" controls='controls'> <source src="videos/clip.mp4" type="video/mp4"/> <source src="videos/clip.webm" type="video/webm"/> <source src="videos/clip.ogv" type="video/ogg"/> Your browser doesn't seem to support the video tag.</video> Why is that? Shouldn't it work simply through the browser? The movie plays using quicktime player, not flashplayer as I expected. How do I use flash player like youtube?The code doesn't work in IE, sorry to say. How do I make it work in IE? Thanks guys. You have been very helpful so far.
  10. Oh, well that clears the problem. I'll convert the movie today and post the results. Thanks!
  11. @Wolverine: I am using Firefox 18.0.2 @OTTO: Ok, I'll try it.
  12. I found the web page with that code and it still doesn't work. My movie is mp4 so it should work. How does youtube embed videos? Is it with <embed>, <object> or < video>?
  13. No, sorry, I get the same thing. I tried playing it through the server and through the browser, same result. What next? I got it to work using quicktime player but I want it to work using the same player as youtube(flashplayer).
  14. Hi all. I'm trying to embed a movie into my test html page but it doesn't work. I used this code: <video id="testMovie" src="spacetest.mp4" controls preload autoplay width="800" height="600" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'></video> All I get is a grey player saying: "Video format or MIME type is not supported" The questions are: 1. Is there something wrong with the code?2. What am I doing wrong?3. Do I need to run it through my server in order for it to work? I only tried with my XAMP server off, directly through the browser. Thanks in advance.
  • Create New...