Configura el servidor web per a l’HTML5 multimèdia
Amb el nou estàndard web HTML5 ja no fa falta flash, java ni silverlight per a penjar els teus vídeos o àudios. Per fer-ho només caldrà publicar simplement un fitxer de vídeo o àudio .OGG, i preparant una pàgina web amb HTML5.
Els navegadors que entenguin HTML5 (com el Firefox 3.5) reproduiran el contingut multimèdia sense cap problema. Per a ajudar al navegador a fer-ho es pot configurar el servidor web per a donar informació sobre la durada del vídeo, el format en concret, i alguns paràmetres més. Al bloc Thundering Herd donen alguns consells relacionats amb el tema:
For example, a video which is 1 minute and 32.6 seconds would you’d serve the extra header: "X-Content-Duration: 92.6".
When
an Firefox requests an Ogg media, if you should serve up the
X-Content-Duration header with the duration of the media. This means
Firefox doesn’t need to do any extra HTTP requests to seek to the end
of the file to calculate the duration so it can display the progress
bar.