CanPlayType method