better timing of the check for support of WebM