switch to event based api
add autoplay, binding options