Make sure the error property is set before proxying through the tech.

Some error events don't cause the error property on the video element to be set. In that case, handle the event like any other. Fixes #1465.