Playing a practical joke on a friend and traveling companion is acceptable, providing one is confident that no harm will attach to the victim, and that you would have no issue if the same were done to you.
Posting a video of said friend looking like an idiot, however, or not making certain that a third party is not recording what transpires, is unethical absent the victim’s explicit consent.
Thank-you.