HTML5 audio and video

<video width=”640″ height=”480″ controls autoplay preload=”auto” loop poster=”myVideoPoster.jpg”> <source src=”video/myVideo.mp4″ type=”video/mp4″> <source src=”video/myVideo.ogv” type=”video/ogg”> <object width=”640″ height=”480″ type=”application/x-shockwave-flash” data=”myFlashVideo.SWF”> <param name=”movie” value=”myFlashVideo.swf” /> <param name=”flashvars” value=”controlbar=over&amp;image=myVideoPoster.jpg&amp;file=video/myVideo.mp4″ /> <img src=”myVideoPoster.jpg” width=”640″ height=”480″ alt=”__TITLE__” title=”No video playback capabilities, please download the video below” /> </object> <p> <b>Download Video:</b> MP4 Format: <a href=”http://myVideo.mp4″>”MP4″</a> Ogg Format: <a href=”http://myVideo.ogv”>”Ogg”</a> </p> […]

HTML5: Javascript shiv library

IE doesn’t understand, and doesn’t know how to render the newest HTML5 elements. But if there is a “document.createElement(‘section’)”, you will be able to display now section element in IE old browsers, and even style it. shiv library does that for you. In those cases, this is what you need: Along with this: <!–[if […]

On Charsets and other strange black sciences

This is basically the software representation of a given map of language characters. The English language, not having lots of different letters, can be represented by 8 byte construct, which give you about 256 characters. Enough to cover all the letters and punctuation signs. Most browsers and computer systems would default to this if not […]

Making IE6+ browser render as other browser engines

In quirks mode, it acts like IE 5. Implements most of CSS 2.1 goodness. To turn off compatibility mode and revert it back to IE 7 behavior, put the following tag in the head: <meta http-equiv=”X-UA-Compatible” content=”IE=edge” /> Now, if you want a really good HTML5 ready engine to run on your old IE browsers, […]