Remove unnecessary canPlay object.

Use codecs object instead of canPlay object which was just a proxy to codec's properties.