Amateur footage has emerged capturing the moment of the explosion outside a Hindu shrine in Bangkok where 22 people were killed.