quick HTML tip

If you want to embed video into a webpage, one of the parameters you can use is “autostart”, normally set to true or false. Firefox, for some reason, does not pay any attention to the ‘false’. This is a problem if you don’t want your movie to start playing immediately!

Solution: use ‘0′ (zero) instead. In most programming languages, ‘true’ and ‘false’ are actually ‘1′ and ‘0′. Or more specifically, false is zero, true is non-zero. Firefox, while not paying attention to false, will listen to the zero. So use: autostart=”0″ if you don’t want your movie to autoplay.

Comments are closed.