The classroom is meant for learning and teacher to do their job teaching. Student can not be disruptive of other student's learning.
The girl in the video asked for it when she disrespected both teacher and the officer. The officer approached her nicely to get up, she refused, he asked her the 2nd time. Then he tossed her and pulled her in front of classroom to arrest her and still resisted. Were the officer out of line in the force, maybe but what would anyone do if a student refuses and act in defiance?