Several videos capturing the moment a 7.6-magnitude earthquake occurred in the Caribbean Sea have gone viral on social media.