Check if canPlayType throws error and set support flag accordingly

Fixes #216
Merge pull request #357 from flowplayer/bug/216

Check if canPlayType throws error and set support flag accordingly