Fix video play/pause/end functions on iPhone