Jump to content

L.Adlon

Members
  • Posts

    154
  • Joined

  • Last visited

Everything posted by L.Adlon

  1. Sure, it's old school... but I'm not using it in the usual 'cheesy, unrelated anmiated character graphic floating on a page' kind of way. I'm using it as an alternative to a flash movie, for a (subtley) animated logo, or for an animated header background... both of which would normally be a still image (as opposed to video) anyway. Works great, and seems more compatible and less code heavy than Flash, plus, if the browser doesn't animate, it conveniently just displays the first frame, which is perfect. I'm trying to make the gif as light as possible... Very low frame rate, short duration (about 1-2 seconds or so), minimum delta. Still, it takes a finite amount of time to load, and (I believe) will start playing once it has SOME frames (not necessarily all), much like a .swf... so, you can run into problems with it starting before it's all loaded. So, that's why I'm trying to see if there's some means (be it official or hack) to hold back the display of the gif until it's fully loaded. That all said, would putting it in a table do the trick?
  2. ...as long as you are not relying on any HTML4 tags or attributes not supported by HTML5!
  3. Here's something I'm curious about... If I wanted to make sure an animated gif loaded all of its frames before being displayed (to avoid any pauses in the fps), would putting it in a table help (as my understanding is that a table's contents must first all be loaded before the table is displayed)? If not, is there any other way I could assure that all the gif's frames are loaded before it is displayed? Bonus question... If an animated gif is placed on the page with an <img> tag that has a title or alt attribute defined as something (say, "Welcome!"), would that be displayed before the first frame is loaded,... or before all the frames are loaded,.... or never? (unless the image was missing, or you are viewing it on a non-graphic browser)
  4. Yikes, that's territory I'm not familiar with. The only thing I know of wmode is that I've read some cautions about using it for some things... Can't remember exactly what they were cautioning about, though. Most likely, yet another quirk in IE that either disregards it, or does something funky as the result of using it. The Flash file is basically a little (something like 100x200) that consists of a white background, and then there is this little character that appears at random times. But, most of the time, it's just the white 'background' That goes (opaquely) over the white of the rest of the browser window... essentially invisible when the character isn't there. I'm really not sure what that innitial 'non-matching white' color of the HTML page is, so I'm assuming the browser defaults to that. I had been previously reading about having Flash movies with transparent backgrounds, but it seemed like that was a hassle, filled with coding and scripts and whathaveyou... Just not worth it. Besides, theoretically, if my Flash movie background is white, and the HTML screen is white, it should be fine... ....It's just that initial non-white moment that reveals the white Flash movie block (against the darker white of the HTML). I got EVERYTHING defining the white background now... <body> (both CSS and HTML methods), all the <div> elements (global wrapper, group wrapper, individual element wrapper)... Still getting that initial colour. I'll look into the wmode thing, just for completeness... but it sounds like that addresses the Flash element/block, not the HTML screen around it. Again, the Flash movie is working perfect (the color switch is not in that, but the HTML screen outside of it). Really minor... but kind of annoying. I might be able to remedy it if I could delay the appearance of the Flash movie... but I'm not sure how to do that, and suspect that'll be more work than it's worth.
  5. It's like IE doesn't see it as an embedded video, but instead treats it like a raw file link. I have to see if it does it in other copies of IE, as mine hasn't been properly set up (since I don't use it). Might be some configuration that isn't set. My (ancient) version of IE on my other machine actually displays it fine (...go figure). So, it probably is fine, and just not set up properly. Good idea about shrinking the video container. That may just work! It's only about 2 pixels or so, which won't be a real loss in the non-IE browsers. I'll give that a try, as that would be an easy fix if it works. I don't want to get into scripts and stuff, as that's beyond me, and just clutters things. Let the IE users have their white lines and other quirks...
  6. What's the first thing that gets processed and displayed? It's the <body> background, right? A table has to wait for all the content to be loaded before displaying, so the <body> background is usually first, right? I'm setting the body background color with both traditional HTML and css, but it still seems to be set to some default light grey before doing that change. Is there any way to set the background color even earlier than the <body> does?
  7. True enough... (Heck, I'm writing to you from an XP machine right now. I'm only now considering upgrading it (reluctantly) to Win7...) I had decided to shrug off those who have old browsers or whatever, as it's a serious pain (and a sometimes destructive compromise) to add redundant code, etc just to make it 'work' on older browsers. Similarily, I'm no longer brutally compressing my image files, or catering to dial-up speeds. At worst, they don't see my videos and hear my music, but they can still contact me and read about my works. The stuff is on YouTube... and if they can't even view that... then, well, they are out of luck. I'm just glad it works for most of the current systems!
  8. Oops, sorry... Typo. Ya, should be class="navbutton". The actual code says class. I'm just not fully awake yet! I haven't seen the glitch for a while now, and it was only occassional, so it's hard to test it. I recently added a cursor:default; to the body tag, as I was getting some areas of the screen that were triggering the text edit cursor (annoying). I'm wondering if that might have fixed it. Not sure why it would, though. It's a glitch that happens rarely.... almost seems like an inturrupted screen update.
  9. Ya, I had tried the YouTube suggested code, but it didn't work properly. I had then tried the W3Schools version, and that worked well. That's what I ended up using. Works great, but on MY copy of Internet Explorer, it asks if I want to save or open the video file, rather than embedding it, when I visit the video page... as if it was just a raw file link, rather than an embedded video. I was told by another user here that the current IE has a security block by default that prevents YouTube vids from being displayed (for some reason).... if I understood him right. I couldn't find it, though. Might have been a compatibility issue or something, too.... I intentionally keep that copy of IE (which I only use for testing) free of Flash and other plugins, so I can see how non-compatible browsers deal with my pages. I'll have to have one of my friends (who uses IE) to see if the video plays, or if they have the same issue.
  10. Yep... But, at this point, as long as the 'error' of a browser not having the required plugin/compatible version doesn't break the site, and fails gracefully, I'm happy. From what I've seen, that's the case. My vid page displayed on a browser that is not compatible, stays intact, and displays the issue and solution within the video frame automatically (...nice!). My music page, viewed on a browswer that is not compatible, simply doesn't show the audio control panels (...and I've added a note at the bottom of the page, suggesting to upgrade if you don't see the controls). So, it's good. I'll check out that modernizer link, though. Thanks for that.
  11. Ya, it already is... Again, the Flash movie element part of it is fine. It comes in, background of it is white. It's the surrounding rest of the browser page that initially appears as a darker white, then snaps to the proper white to match that of the Flash movie. So, I'm assuming, the browser has the HTML page as an off-white by default, until it encounters some css or HTML bg color declaration... and I'm trying to figure out if there's a f'aster' way to set that colour than the ways I'm currently doing.
  12. Yep... Pretty straightforward, really... Just the usual <a href="otherpage.html" alt="" style="navbutton">Click Here</a> type of thing, with the navbutton style defining things like the border width/color, the font properties, etc. The coding works most of the time. It just sometimes seems to glitch... and I'm not sure if that's the code or the browser, or what. I can't think of what would make the bottom half of the text to be invisible... even if I WANTED to do that!
  13. That was the next thing I was going to check, but if it was the Flash background, then it would be the white square that would be affected, not the HTML page background surrounding the Flash movie element. The canvas/bg colour of the Flash movie is white, to match the (intended) white of the HTML page. But, I'll be checking if there's some other 'canvas' colour in the Flash scene file that might be interfering. I'm not outputting an HTML page when I publish the Flash, so it can't be that either. Imagine you have a white cube that is supposed to be against a white background. In my case, the white cube (Flash movie) first appears, and the background (of the HTML page) appears, but is momentarily light grey, and then changes to white (making the cube visibly disappear (as intended). Since the movie is in a table, I assumed that there would be a bit of a delay before the table appeared, as it has to load the contents first before displaying. So, I set the body tag background color at the start, with the assumption that the blacnk HTML page itself would be the first thing to be displayed (before the table). But, no go on that.
  14. Hi, guys. Got another little issue/challenge... I have a page consisting of a single cell table that has a Flash animation in it. The background of the animation is white, and the page background is also a matching white. However, when the page first loads, the background seems to be a light grey (or just slightly darker than full white), and as a result, you see the block of the Flash animation against it, rather than the white of the animation blending in with the (intended) white of the background. After a half-second, the page background goes to full white, and everything's fine. So, it seems that the browser has the page background color set to a darker white by default, and then changes once it hits my css, and the Flash animation loads before that background color change happens. Is there any way for me to make the background color change before the Flash movie is loaded (or, more importantly, displayed)? I tried a number of combinations of background color declarations... both CSS and HTML... in the body tag, in the div tags, etc... but, I still can't seem to get the color to change before the Flash movie is displayed. Not a big deal, as it's just a 1/2 second of 'white square against light grey background'... but, it would be great to be able to have it seamless. Any ideas?
  15. Cool, thanks. Looks like if I'm just using the <video> and <audio> tags (as far as new HTML5 exclusive features), I should be ok.
  16. Nevermind. I found it... For those wondering, you add this style to the <a> tags: a {outline:0;} But, you are cautioned to also add the a:hover style to the a:focus and a:active, so that those people needing accessability features still have a means of seeing what is the currently active/focused link item: a:hover, a:focus, a:active {color:red;} (Add whatever style you want there. I just put red as an example.)
  17. Hi. How do you get rid of the dotted border that sometimes appear around some hyperlinks (...I'm assuming it's a focus thing)? I tried applying a border-style:none, but that didn't seem to do it.
  18. Hi. I tried finding this all over the web, but never found the answer. I have a YouTube vid embedded in one of my HTML pages (via W3Schoool's suggested <iframe> embedding technique), and in IE, rather than showing it, I get a white frame, and IE asks me if I want to open or save it (both of which are not what I want). I was told that IE (by default) blocks YouTube vids for security, but I can't figure out where to disable that in the options. Best I could find was allowing sites that don't use an external player, but that didn't do it. I don't use IE, but I'm using it to test out my sites, and just wanted to have the embedded video show up for the tests. Is this something I have to address in the HTML or in IE's options? Either way, what needs to be done? Sorry if this questions is not appropriate for the forum. Figured I'd ask...
  19. Hello again. Weird random thing happening sometimes in IE on the site I'm working on. I have a row of text hyperlinks (serving as nav buttons), with background colour, border, hover state, etc defined so they look like nice buttons. All that works great, except sometimes, SEEMINGLY RANDOMLY, when viewed in Internet Explorer (11), the lower half of the text is invisible. Hovering over the hyperlinks fixes them ALL (not just the one you are over). No idea what that is about. Other pages would be fine, and which page has this glitch is random. It seems like the coding is fine (obviously works most of the time, and even on the other 4 pages when the one page DOES glitch...whichever page that may be at the time. Just seems like it's some hickup in the display or something. Not sure. And, only in IE. I've made some changes to the stylesheet, and am frequently re-loading the pages, seeing if the glitch shows up again. Just wondering if this kind of thing is something that someone here has seen before, and if they know what might be causing it (and how to fix it... if my recent change hasn't done that already). I believe the background of the bottom half of the element (<a> tag with CSS styling for the border, etc) is intact when the bottom half of the text is invisible. I don't think any other element is blocking it or anything. Again, it's immediately fixed (on ALL the buttons) just by hovering over one of them.
  20. Just wondering what platforms/browsers wouldn't show a site properly, if I chose to do it in HTML5 these days. (I guess I should add, the only HTML5 new feature that I'd be using (as far as I know) would be the <audio> and <video> tags.)
  21. But is the embed tag currently fully supported by all (major) platforms and browsers, or is there still the need for the <object><embed> combo?
  22. Oh, so it's a known/common thing, then? Do website guys do anything to remove that, or do they just shrug it off and leave it? Definitely looks like it's part of the video itself, and not the padding of the element. Put side by side, the video viewed in IE is a few pixels smaller than one in Firefox.
  23. Hi. I'm using the W3Schools suggested YouTube <iframe> embedding method, and it works great in Firefox, but when viewed in Internet Explorer, it seems the video is about 2 pixels smaller horizontally and vertically, resulting in a thin padding on the bottom and right of the video (between it and the <div> frame. Anyone have any idea what might be happening here? The <div> frame seems to be the same size between the Firefox and IE version, and it's the video itself that has the size difference. I have the following style applied to the <iframe> of the video: .reel { text-align:center; margin:20 auto; padding:0px; border-style:double; border-width:6px; line-height:0px;} From what I see (and understand) there isn't anything there that should be affecting the video size or the padding (aside from making the padding zero). Also, it SEEMS that the white padding is in the video block itself, as opposed to in the padding area between the video element and the <div> frame surrounding it, as changing the background-color of the <iframe> does not change the color of the white padding. Any theories and/or suggestions?
  24. Cool. I'll trinker around with that, and try and figure it all out. Thanks!
  25. Weird... It seems I don't even need the <script> stuff at all. The HTML5(?) version of the player seems to work on everything.... well, except for Internet Explorer. There, it 'works' but 8 times out of 10, the browser hangs (seemingly due to the songs being loaded in the background?). Completely random... Some of the players do the preload fine, others hang. Different patterns each time. Ones that worked before, don't... and vice versa. The iTouch and Firefox seems perfectly happy with just the: <audio id="player2" src="mp3/Song2.mp3" type="audio/mp3" controls="controls" class="songplayer"></audio><div class="songtitle">This is song two, without the script.</div> So... What exactly is the Flash version needed for? Browsers that don't support HTML5? Which would those be? But, still... IE is giving me grief. So, this isn't solved yet.
×
×
  • Create New...