check for flash and webm support