News for hackers. Stuff that matters.
Re:Star Wars opening crawl from 1977 in HTML/CSS/JS by jasonkester on Monday September 16, 2013 @03:49AM (#6392098)
Gotta preload that audio. Even 100ms of lag between the logo showing up and the music starting is noticeable. Jarring even for (presumably) most of us, who have seen that opening crawl dozens, hundreds, or possibly for children of the 70s who went on to own laserdisc players in the 80s, thousands of times.

In any other context, you could safely pull off not preloading. But this example is just too ingrained into people's minds.

Re:Star Wars opening crawl from 1977 in HTML/CSS/JS by TimPietrusky on Monday September 16, 2013 @03:52AM (#6392109)
Yeah I know and it's freaking me out. I already use the attribute preload="auto" of the <audio>-element, but it's not enough.

Do you know any better ways to preload it?

Re:Star Wars opening crawl from 1977 in HTML/CSS/JS by mercer on Monday September 16, 2013 @05:07AM (#6392299)
I'm assuming there's an event for when the audio is loaded... maybe hook up the animation to that?
Re:Star Wars opening crawl from 1977 in HTML/CSS/JS by kevincennis on Monday September 16, 2013 @07:28AM (#6392694)
canplaythrough