Video for Everybody
Video for Everybody von camendesign ist ein wenig HTML Code der das HTML5-video in Seiten embeded und zwar mit einem Fallback nach Flash und dafür kein JavaScript oder Browser Sniffing benötigt:
<!-- Video for Everybody, Kroc Camen of Camen Design --> <video width="640" height="360" controls preload="none"> <source src="__VIDEO__.MP4" type="video/mp4" /> <source src="__VIDEO__.OGV" type="video/ogg" /> <object width="640" height="384" type="application/x-shockwave-flash" data="__FLASH__.SWF"> <param name="movie" value="__FLASH__.SWF" /> <param name="flashvars" value="image=__POSTER__.JPG&file=__VIDEO__.MP4" /> <img src="__VIDEO__.JPG" width="640" height="360" alt="__TITLE__" title="No video playback capabilities, please download the video below" /> </object> </video> <p> <strong>Download Video:</strong> Closed Format: <a href="__VIDEO__.MP4">"MP4"</a> Open Format: <a href="__VIDEO__.OGV">"OGG"</a> </p>
Wichtig sind noch folgende Zeilen in der .htaccess:
AddType video/ogg .ogv AddType video/mp4 .mp4 AddType video/webm .webm

