• [^] # Re: x-www-browser

    Posté par (site web personnel) . En réponse à la dépêche Opera 10.60 disponible pour Linux. Évalué à 2.

    Je n'avais pas regardé diveintohtml5, exact ça a l'air de marcher.
    Mais ça reste JS + "peut-être", voir le code :
    The canPlayType() function doesn’t return true or false. In recognition of how complex video formats are, the function returns a string:
    "probably" if the browser is fairly confident it can play this format
    "maybe" if the browser thinks it might be able to play this format
    "" (an empty string) if the browser is certain it can’t play this format


    Un peu à l'arrache! :)

    Par contre au gré des lecture à partir de ce site, j'ai trouvé ça aussi :
    http://camendesign.com/code/video_for_everybody#video-code
    Sans JS, c'est déjà mieux, mais ça se limite au content-type (donc par exemple c'est mort pour une bonne gestion, certains lecteurs comme l'iPhone étant limités à H.264 Baseline, tous ne pouvant pas afficher du 1080p...)

    Difficile que le monde de la vidéo...