added canPlayType()