The video shows two male silhouettes kissing inside a classroom and sparked outrage in the country, which led to the investigation and arrest of the two men.
“Sexual deviancy” between two members of the same sex is grounds for harsh punishment under Moroccan law, and the men are currently in police custody while awaiting a verdict that is scheduled for the end of the week.
The men face a fine of around $120 and up to three years in jail.
Morocco has been a haven for antigay sentiment in recent years.
Last year, a Moroccan appeals court upheld convictions of several men accused of participating in homosexual acts.
One gay tourist was arrested for “homosexual acts,” and human rights activists have tried to pressure the country to ease its homophobic laws.