zencoder/video-js — Issue #90: When specifying "h5swf" first in techOrder, Flash is served to iOS, resulting in a blank player
Author: stevecochrane
Created: 2011-11-18 23:39:08+00:00
State: open

It should instead default to HTML5 mode for iOS devices.

This can be reproduced by using demo.html from the latest version of the repo, replacing video.js with the dev version (built using the combine_sources script) to make sure it's up to date, and then setting data-setup='{"techOrder":["h5swf","html5"]}' on the video element. I've only tested this on an iPhone 4S, but if I set my user agent in desktop Safari's Develop menu to "Safari iOS 4.3.3 - iPad" for instance, I can see that I'm being served Flash.

Note that the following fix has to be added to video.js to get to that point, or you'll get JavaScript errors: https://github.com/zencoder/video-js/pull/84

I'll try to help out with this if I can. Just reporting it for now.