Jump to content

T1000Android

Members
  • Posts

    65
  • Joined

  • Last visited

Everything posted by T1000Android

  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.
  15. Don't really know. You tell me; here is the link: http://www.friendly-pc-gamers.net/pcgmkpforum/ipbforum/
  16. Hi! I want to try to make a forum skin of my own. HTML, CSS, JS and PHP are not a problem, however, locating the necessary skin files, is. I am a full rights admin at a website, which is NOT running off a server on my local machine. I found a "look and feel" section in the admin CP, but when I try to export the skin, all I get is an XML file, with which I cannot work with. The questions are: How do I get the skin files? Where are they located on the server machine? I was expecting PHP, HTML and CSS files, why do I get an XML file? I have to mention, that I can contact the owner of the server machine and ask him for the files. Thanks!
  17. Thanks all, your answers were very helpfull.
  18. What do you mean by SEO purpose mainly?
  19. So a web hosting company doesn't care about the elements?Are there any other elements besides the obvious ones?
  20. Hi guys!I am fairly new to web design and I was wondering what functional elements are obligatory for any website. I am reffering to elements like !DOCTYPE, <html>...</html>. Is a website accepted by a domain name company without these elements?Thanks!
×
×
  • Create New...