auto play/pause html5 media when entering/leaving slide (#388)