T onPlay(EventCallback handler) { _attrs['onPlay'] = EventAttribute.fromContext(handler); return self; }