Jump to content

HTML pages preloading links?


Recommended Posts

I'm not much use when it comes to webpage coding. I've got a plain HTML site where I added a quicktime animation on a secondary page. It is linked from index.html. The QT is embedded using an method so it doesn't spawn a new window to play.

 

The problem is that if you refresh the index page, it must be reading the QT because it takes forever to load. That means the main page of the site just sits there with a blank screen for a really long time before anything shows up. Unlink the other page and it loads fairly quickly. The QT is not set to autoplay, so why is it bringing the index page to its knees? This is bad in FireFox and a near-death experience in IE.

 

Any help would be greatly appreciated.

 

EDIT: another issue is that when the page with the QT on it is opened in IE, it pops up a security warning about running an ActiveX on the page, accept or cancel. That sucks, too.

Link to comment
Share on other sites

Ernest, you may best to register on a web design forum for help with this.

 

http://www.w3.org would be a good place to start, from my experience these things tend to end up being something small to sort out in the end but can be a pain to getto the bottom of!

 

equally have you hand coded the HTML or used Dreamweaver or similar etc. perhaps finding a software specific forum if so would also be useful?

Link to comment
Share on other sites

didn't open in a new window as coded. Is there a reason?

 

The page with the QT is called anim.html and has the QT along with text. Its a reel of my animation work. I love having the QT play within the page and not have a new window open since many browsers block pop-up windows, and it stays in place along with the text.

 

http://www.acmedigital.com/anim.html

 

But having a picture on my index.html with a link to anim.html seems to cause the pre-loading even though I have autoplay set to false in the object.

 

One thing I should do while I'm puzzling on this is to generate all my thumbnails as seperate, small images. Out of laziness I have a bunch of them load the fullsize jpg and display it small. Having no images load from other folders might help, but it isn't the full answer since the page loads well as it is, before the QT file was added.

Link to comment
Share on other sites

Interesting. When I click on the link you provided, the page pops up right away with the blue QT logo. Then I see the little dancing guy a few seconds later, so I don't think I'm experiencing the same problem you are.

 

The problem is not with that page. Its when I have a link on the home page of http://www.acmedigital.com to the reel page that the home page takes a full minute or more to load anything. It just sits blank, then finally the images and layout loads. Remove the link, all's normal.

 

So in my amateur HTML attempts, I'm guessing that the link is being preloaded before it allows the main page to load.

Link to comment
Share on other sites

when I clicked on the link for your homepage, it took a good 30 seconds to pop up.

 

That's what's got me worried. Its a plain-simple HTML page.

 

I found a free utility to check links:

http://validator.w3.org/checklink/checklink

 

So far it is suggesting a messed up server situation. Some linked images (thumbnails) are taking 50 seconds--typical is 1 or 2 seconds. One html page (meaning just accessing the document) comes up as 61 seconds.

 

I may be suffering another Earthlink meltdown rather than a site coding problem. I'm looking into that. Ah, Pachelbel's Canon for staticy music-on-hold.

Link to comment
Share on other sites

Looked at this QT animation thing a while back.... my memories....

 

embedding for quicktime is a royal pain, limited and "may" not be considered the best way to go. Script is the most effiencient. The Apple/quicktime web pages, somewhere, had scripts ready to plug into html. Well not quite that simple, but they seemed to work better and where not too complicated to understand.....I am NOT a programmer ;)

 

Hope it can be of some help....at least it'll get rid of the "You haven't posted in several weeks..." message ;( for me

 

WDA

Link to comment
Share on other sites

The Apple/quicktime web pages, somewhere, had scripts ready to plug into html.

 

That was where I started, but had trouble finding the actual code. They tell you about it, but don't seem to have the actual stuff to paste in.

 

And if you just go directly to the page with the little reel on it, it works nicely. Its the effect on the main page that has me stumped. But as I said, I think it may be a problem with my hosting company. It just showed up as I was adding this new content. I think.

 

at least it'll get rid of the "You haven't posted in several weeks..." message

 

I don't have that problem.

Link to comment
Share on other sites

check this:

 

http://www.websiteoptimization.com/services/analyze/wso.php?url=http://www.acmedigital.com/

 

 

you got a lot of images on your start page...a total of 1.4mb for a single page.

that kills every dialup line.

 

when visiting your website, the first thing that comes to my mind is, there is too much information (images) on your landing page.

 

also, there is ugly aliasing on your thumbnails, the big images are ok though.

how do you resize them?

 

technical detail: you are not using html standards, the browsers are rendering the page in quirks mode. also you are using tables for layout, that means the browser has to finish loading all table data before it can display anything.

that's not hugely important though, if you're happy with the output.

Link to comment
Share on other sites

you got a lot of images on your start page...a total of 1.4mb for a single page.

that kills every dialup line.

 

Thank you for looking into that. I recently re-did the thumbnails to be more compact. I know there are a lot of them, but I decided to skip the intro screen and have a visitor head straight for my work.

 

I will have to figure out the html compliance. I discovered that when looking for what was wrong last week.

 

In the end, I had not caused anything weird to happen when I added the QT animation to the site. It was a coincidence that right when I added it my ISP (Earthlink) started having latency problems. And then it took 'em a day or two to admit it. So I thought I had screwed things up. I didn't.

Link to comment
Share on other sites

I did not read the entire thread in it's entirety, but if you are having problems with a QT movie, you should set it to load a poster movie first, which you then click to load the QT, this will dramatically speed up the page load. More info here: http://www.oreillynet.com/pub/a/oreilly/digitalmedia/2006/09/29/two-slick-quicktime-tricks.html?page=last

 

You can also search for info on the QuickTime parameter called "poster movie"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...