A travel influencer has been jailed in Morocco after a viral video about her visit to Marrakech led to a defamation conviction.