BANGKOK—Each year as monsoon rains sweep their way over Thailand, tens of thousands of teenage boys shave their heads and are ordained as Buddhist monks in a traditional rite of passage.

Some find their life's vocation during the few weeks they spend in the monastery, and they become full-time monks.

Others post videos of themselves on YouTube,...