return !!document.createElement("video").canPlayType; 转载于:https://my.oschina.net/tommyfok/blog/199789