Adding trigger event to custom video player