23 ms·
It's embarrassing that professional web site developers are using User Agent String detection to decide whether to serve Flash or HTML5 Video.
by raganwald 16y ago
It's embarrassing that professional web site developers are using User Agent String detection to decide whether to serve Flash or HTML5 Video.
- SpikeGronim 16y agoI'm curious, what should they be using? The "Accept" HTTP header?
- johnmmix 16y agohttp://diveintohtml5.org/detect.html#techniques http://diveintohtml5.org/detect.html#techniques http://www.adobe.com/products/flashplayer/download/detection_kit/ http://www.adobe.com/products/flashplayer/download/detection... Now, if you have a browser which supports both HTML5 video and Flash, it's arguable which a player should default to. However, at the moment there seems to be an assumption on many sites that: - "desktop" browser => has Flash - mobile browser => doesn't have Flash which gets pretty annoying for those of us who prefer not to install Flash.